<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML ><HEAD ><TITLE >Obtaining PHP</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK REL="HOME" TITLE="Manual PHP" HREF="index.html"><LINK REL="UP" TITLE="FAQ: Întrebãri frecvente" HREF="faq.html"><LINK REL="PREVIOUS" TITLE="Mailing lists" HREF="faq.mailinglist.html"><LINK REL="NEXT" TITLE="Database issues" HREF="faq.databases.html"><META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY CLASS="chapter" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >Manual PHP</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="faq.mailinglist.html" ACCESSKEY="P" >Înapoi</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="faq.databases.html" ACCESSKEY="N" >Înainte</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="chapter" ><H1 ><A NAME="faq.obtaining" >Cap. 48. Obtaining PHP</A ></H1 ><P > This section has details about PHP download locations, and OS issues. </P ><DIV CLASS="qandaset" ><DL ><DT >1. <A HREF="faq.obtaining.html#faq.obtaining.where" >Where can I obtain PHP?</A ></DT ><DT >2. <A HREF="faq.obtaining.html#faq.obtaining.precompiled" >Are pre-compiled binary versions available?</A ></DT ><DT >3. <A HREF="faq.obtaining.html#faq.obtaining.optional" > Where can I get libraries needed to compile some of the optional PHP extensions? </A ></DT ><DT >4. <A HREF="faq.obtaining.html#faq.obtaining.how" >How do I get these libraries to work?</A ></DT ><DT >5. <A HREF="faq.obtaining.html#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 ></DT ><DT >6. <A HREF="faq.obtaining.html#faq.obtaining.browscap" >Where do I find the Browser Capabilities File?</A ></DT ></DL ><DIV CLASS="qandaentry" ><B ><DIV CLASS="question" ><P ><A NAME="faq.obtaining.where" ></A ><B >1. </B >Where can I obtain PHP?</P ></DIV ></B ><DIV CLASS="answer" ><P ><B > </B > 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/" TARGET="_top" >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" TARGET="_top" >http://www.php.net/anoncvs.php</A >. </P ></DIV ></DIV ><DIV CLASS="qandaentry" ><B ><DIV CLASS="question" ><P ><A NAME="faq.obtaining.precompiled" ></A ><B >2. </B >Are pre-compiled binary versions available?</P ></DIV ></B ><DIV CLASS="answer" ><P ><B > </B > 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" TARGET="_top" >Downloads</A > page, for Linux binaries, please visit your distributions website. </P ></DIV ></DIV ><DIV CLASS="qandaentry" ><B ><DIV CLASS="question" ><P ><A NAME="faq.obtaining.optional" ></A ><B >3. </B > Where can I get libraries needed to compile some of the optional PHP extensions? </P ></DIV ></B ><DIV CLASS="answer" ><P ><B > </B > <DIV CLASS="note" ><BLOCKQUOTE CLASS="note" ><P ><B >Notã: </B > 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. </P ></BLOCKQUOTE ></DIV > </P ><P > <P ></P ><UL ><LI ><P > <A HREF="ftp://ftp.openldap.org/pub/openldap/openldap-stable.tgz" TARGET="_top" >LDAP (Unix)</A >. </P ></LI ><LI ><P > <A HREF="ftp://terminator.rs.itd.umich.edu/ldap/ldap-3.3.tar.Z" TARGET="_top" >LDAP* (Unix)</A >. </P ></LI ><LI ><P > <A HREF="http://developer.netscape.com/tech/directory/downloads.html" TARGET="_top" >LDAP (Unix/Win)</A > : Netscape Directory (LDAP) SDK 1.1. </P ></LI ><LI ><P > <A HREF="http://developer.netscape.com/tech/directory/downloads.html" TARGET="_top" >free LDAP server</A >. </P ></LI ><LI ><P > <A HREF="http://www.sleepycat.com/" TARGET="_top" >Berkeley DB2 (Unix/Win)</A > : http://www.sleepycat.com/. </P ></LI ><LI ><P > <A HREF="http://www.net-snmp.org/" TARGET="_top" >SNMP* (Unix): </A >. </P ></LI ><LI ><P > <A HREF="http://www.boutell.com/gd/" TARGET="_top" >GD* (Unix/Win)</A >. </P ></LI ><LI ><P > <A HREF="http://www.hughes.com.au/" TARGET="_top" >mSQL* (Unix)</A >. </P ></LI ><LI ><P > <A HREF="http://www.postgresql.org/" TARGET="_top" >PostgreSQL (Unix)</A >. </P ></LI ><LI ><P > <A HREF="ftp://ftp.cac.washington.edu/imap/" TARGET="_top" >IMAP* (Win/Unix)</A >. </P ></LI ><LI ><P > <A HREF="http://www.sybase.com/" TARGET="_top" >Sybase-CT* (Linux, libc5)</A > : Available locally. </P ></LI ><LI ><P > <A HREF="http://www.freetype.org/" TARGET="_top" >FreeType (libttf):</A >. </P ></LI ><LI ><P > <A HREF="http://www.gzip.org/zlib/" TARGET="_top" >ZLib (Unix/Win32)</A >. </P ></LI ><LI ><P > <A HREF="http://www.jclark.com/xml/expat.html" TARGET="_top" >expat XML parser (Unix/Win32)</A >. </P ></LI ><LI ><P > <A HREF="http://www.pdflib.com/products/pdflib/index.html" TARGET="_top" >PDFLib</A >. </P ></LI ><LI ><P > <A HREF="http://mcrypt.sourceforge.net/" TARGET="_top" >mcrypt</A >. </P ></LI ><LI ><P > <A HREF="http://mhash.sourceforge.net/" TARGET="_top" >mhash</A >. </P ></LI ><LI ><P > <A HREF="ftp://sunsite.unc.edu/pub/Linux/libs/graphics/" TARGET="_top" >t1lib</A >. </P ></LI ><LI ><P > <A HREF="http://dmalloc.com/" TARGET="_top" >dmalloc</A >. </P ></LI ><LI ><P > <A HREF="http://aspell.sourceforge.net/" TARGET="_top" >aspell</A >. </P ></LI ><LI ><P > <A HREF="http://cnswww.cns.cwru.edu/~chet/readline/rltop.html" TARGET="_top" >readline</A >. </P ></LI ></UL > </P ></DIV ></DIV ><DIV CLASS="qandaentry" ><B ><DIV CLASS="question" ><P ><A NAME="faq.obtaining.how" ></A ><B >4. </B >How do I get these libraries to work?</P ></DIV ></B ><DIV CLASS="answer" ><P ><B > </B > 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 '<VAR CLASS="literal" >--with-EXTENSION</VAR >' options to '<VAR CLASS="literal" >configure</VAR >'. Run '<VAR CLASS="literal" >configure --help</VAR >' for a listing of these. </P ></DIV ></DIV ><DIV CLASS="qandaentry" ><B ><DIV CLASS="question" ><P ><A NAME="faq.obtaining.compileNT" ></A ><B >5. </B > 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 ></DIV ></B ><DIV CLASS="answer" ><P ><B > </B > 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="missing-stuff.html#install.windows.build" >building PHP from source on Windows</A >. </P ></DIV ></DIV ><DIV CLASS="qandaentry" ><B ><DIV CLASS="question" ><P ><A NAME="faq.obtaining.browscap" ></A ><B >6. </B >Where do I find the Browser Capabilities File?</P ></DIV ></B ><DIV CLASS="answer" ><P ><B > </B > You can find a <TT CLASS="filename" >browscap.ini</TT > file at <A HREF="http://www.garykeith.com/browsers/downloads.asp" TARGET="_top" >http://www.garykeith.com/browsers/downloads.asp</A >. </P ></DIV ></DIV ></DIV ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="faq.mailinglist.html" ACCESSKEY="P" >Înapoi</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Acasã</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="faq.databases.html" ACCESSKEY="N" >Înainte</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >Mailing lists</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="faq.html" ACCESSKEY="U" >Sus</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >Database issues</TD ></TR ></TABLE ></DIV ></BODY ></HTML >