Source of: /manual/en/faq.obtaining.php
<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/faq.inc";
$setup = array (
'home' =>
array (
0 => 'index.php',
1 => 'PHP Manual',
),
'head' =>
array (
0 => 'UTF-8',
1 => 'en',
),
'this' =>
array (
0 => 'faq.obtaining.php',
1 => 'Obtaining PHP',
),
'up' =>
array (
0 => 'faq.php',
1 => 'FAQ: Frequently Asked Questions',
),
'prev' =>
array (
0 => 'faq.mailinglist.php',
1 => 'Mailing lists',
),
'next' =>
array (
0 => 'faq.databases.php',
1 => 'Database issues',
),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);
manual_header();
?>
<div>
<h1>Obtaining PHP</h1>
<p class="para">
This section has details about PHP download locations, and
OS issues.
</p>
<div class="qandaset"><ol class="qandaset_questions"><li><a href="#faq.obtaining.where">
Where can I obtain PHP?
</a></li><li><a href="#faq.obtaining.precompiled">
Are pre-compiled binary versions available?
</a></li><li><a href="#faq.obtaining.optional">
Where can I get libraries needed to compile some of
the optional PHP extensions?
</a></li><li><a href="#faq.obtaining.how">
How do I get these libraries to work?
</a></li><li><a href="#faq.obtaining.compileNT">
I got the latest version of the PHP source code from the SVN
repository on my Windows machine, what do I need to compile it?
</a></li><li><a href="#faq.obtaining.browscap">
Where do I find the Browser Capabilities File?
</a></li></ol>
<dl>
<dt><strong>
<p class="para">Where can I obtain PHP?</p>
</strong></dt>
<dd><a name="faq.obtaining.where"></a>
<p class="para">
You can download PHP from any of the members of the
PHP network of sites. These can be found at
<a href="http://www.php.net/" class="link external">» http://www.php.net/</a>.
You can also use anonymous SVN to get the absolute latest
version of the source. For more information, go to
<a href="http://php.net/svn.php" class="link external">» http://php.net/svn.php</a>.
</p>
</dd>
</dl>
<dl>
<dt><strong>
<p class="para">Are pre-compiled binary versions available?</p>
</strong></dt>
<dd><a name="faq.obtaining.precompiled"></a>
<p class="para">
We only distribute precompiled binaries for Windows systems,
as we are not able to compile PHP for every major Linux/Unix
platform with every extension combination. Also note, that
many Linux distributions come with PHP built in these days.
Windows binaries can be downloaded from our <a href="http://www.php.net/downloads.php" class="link external">» Downloads</a> page, for Linux
binaries, please visit your distribution's website.
</p>
</dd>
</dl>
<dl>
<dt><strong>
<p class="para">
Where can I get libraries needed to compile some of
the optional PHP extensions?
</p>
</strong></dt>
<dd><a name="faq.obtaining.optional"></a>
<p class="para">
</p><blockquote><p><b class="note">Note</b>:
<span class="simpara">
Those marked with * are not thread-safe libraries, and
should not be used with PHP as a server module in the multi-threaded
Windows web servers (IIS, Netscape). This does not matter in Unix
environments, yet.
</span>
</p></blockquote><p>
</p>
<p class="para">
</p><ul class="itemizedlist">
<li class="listitem">
<span class="simpara">
<a href="ftp://ftp.openldap.org/pub/OpenLDAP/openldap-stable/" class="link external">» LDAP (Unix)</a>.
</span>
</li>
<li class="listitem">
<span class="simpara">
<a href="http://developer.netscape.com/tech/directory/downloads.html" class="link external">» LDAP (Unix/Win)</a> :
Mozilla Directory (LDAP) SDK
</span>
</li>
<li class="listitem">
<span class="simpara">
<a href="http://www.bind9.net/download-openldap/" class="link external">» free LDAP server</a>.
</span>
</li>
<li class="listitem">
<span class="simpara">
<a href="http://www.sleepycat.com/" class="link external">» Berkeley DB2 (Unix/Win)</a> :
http://www.sleepycat.com/.
</span>
</li>
<li class="listitem">
<span class="simpara">
<a href="http://www.net-snmp.org/" class="link external">» SNMP* (Unix): </a>.
</span>
</li>
<li class="listitem">
<span class="simpara">
<a href="http://www.libgd.org/" class="link external">» GD* (Unix/Win)</a>.
</span>
</li>
<li class="listitem">
<span class="simpara">
<a href="http://www.hughes.com.au/" class="link external">» mSQL* (Unix)</a>.
</span>
</li>
<li class="listitem">
<span class="simpara">
<a href="http://www.postgresql.org/" class="link external">» PostgreSQL (Unix)</a>.
</span>
</li>
<li class="listitem">
<span class="simpara">
<a href="ftp://ftp.cac.washington.edu/imap/" class="link external">» IMAP* (Win/Unix)</a>.
</span>
</li>
<li class="listitem">
<span class="simpara">
<a href="http://www.sybase.com/" class="link external">» Sybase-CT* (Linux, libc5)</a> :
Available locally.
</span>
</li>
<li class="listitem">
<span class="simpara">
<a href="http://www.freetype.org/" class="link external">» FreeType (libttf):</a>.
</span>
</li>
<li class="listitem">
<span class="simpara">
<a href="http://www.zlib.net/" class="link external">» ZLib (Unix/Win32)</a>.
</span>
</li>
<li class="listitem">
<span class="simpara">
<a href="http://www.jclark.com/xml/expat.html" class="link external">» expat XML parser (Unix/Win32)</a>.
</span>
</li>
<li class="listitem">
<span class="simpara">
<a href="http://www.pdflib.com/products/pdflib-family/" class="link external">» PDFLib</a>.
</span>
</li>
<li class="listitem">
<span class="simpara">
<a href="http://mcrypt.sourceforge.net/" class="link external">» mcrypt</a>.
</span>
</li>
<li class="listitem">
<span class="simpara">
<a href="http://mhash.sourceforge.net/" class="link external">» mhash</a>.
</span>
</li>
<li class="listitem">
<span class="simpara">
<a href="ftp://sunsite.unc.edu/pub/Linux/libs/graphics/" class="link external">» t1lib</a>.
</span>
</li>
<li class="listitem">
<span class="simpara">
<a href="http://dmalloc.com/" class="link external">» dmalloc</a>.
</span>
</li>
<li class="listitem">
<span class="simpara">
<a href="http://aspell.sourceforge.net/" class="link external">» aspell</a>.
</span>
</li>
<li class="listitem">
<span class="simpara">
<a href="http://cnswww.cns.cwru.edu/~chet/readline/rltop.html" class="link external">» readline</a>.
</span>
</li>
</ul><p>
</p>
</dd>
</dl>
<dl>
<dt><strong>
<p class="para">How do I get these libraries to work?</p>
</strong></dt>
<dd><a name="faq.obtaining.how"></a>
<p class="para">
You will need to follow instructions provided with the library. Some of
these libraries are detected automatically when you run the 'configure'
script of PHP (such as the GD library), and others you will have to
enable using '<i>--with-EXTENSION</i>' options to
'<i>configure</i>'. Run
'<i>configure --help</i>' for a listing of these.
</p>
</dd>
</dl>
<dl>
<dt><strong>
<p class="para">
I got the latest version of the PHP source code from the SVN
repository on my Windows machine, what do I need to compile it?
</p>
</strong></dt>
<dd><a name="faq.obtaining.compileNT"></a>
<p class="para">
See the manual section about
<a href="install.windows.building.php" class="link">building PHP from
source on Windows</a>.
</p>
</dd>
</dl>
<dl>
<dt><strong>
<p class="para">Where do I find the Browser Capabilities File?</p>
</strong></dt>
<dd><a name="faq.obtaining.browscap"></a>
<p class="para">
You can find a <var class="filename">browscap.ini</var> file at
<a href="http://browsers.garykeith.com/downloads.asp" class="link external">» http://browsers.garykeith.com/downloads.asp</a>.
</p>
</dd>
</dl>
</div>
</div>
<?php manual_footer(); ?>