?? faq.obtaining.html
字號:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head> <title>Obtaining PHP</title> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="faq.mailinglist.html">Mailing lists</a></div> <div class="next" style="text-align: right; float: right;"><a href="faq.databases.html">Database issues</a></div> <div class="up"><a href="faq.html">FAQ</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><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 CVS 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 CVS to get the absolute latest version of the source. For more information, go to <a href="http://www.php.net/anoncvs.php" class="link external">» http://www.php.net/anoncvs.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"> <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 class="para"> <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> </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 CVS 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"> First, you will need Microsoft Visual C++ v6 (v5 may do it also, but we do it with v6), and you will need some support files. See the manual section about <a href="install.windows.building.html" 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><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="faq.mailinglist.html">Mailing lists</a></div> <div class="next" style="text-align: right; float: right;"><a href="faq.databases.html">Database issues</a></div> <div class="up"><a href="faq.html">FAQ</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div></body></html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -