Obtaining PHP
This section has details about PhP download locations, and OS issues. 1. Where can I get PHP? 2. Is there any pre-compiled binary version? 3. Where can I get an optional PHP extension library? 4. What can I do to make these libraries work? 5. I used CVS on my windows to get the latest PHP version. Source code How can I compile it? 6. Where can I find browser capabilities file?
1. Where can I get PHP?
You can download PHP from any PHP member site. These sites can be found at http://www.php.net. You can also use anonymous CVs to get the source of the latest version. Code . For more information about CVs, please refer to the http://cvs.php.net /.
2. Is there pre-compiled binary code? ?
We only release binary code in windows, because it is impossible for us to compile the binary code of different PHP options on every host (Unix/Linux). There are also some binary code, many built-in PHP in Linux. The binary code in windows can be downloaded from our site. For the binary version of Linux, see the site of your Linux publisher.
3. Where can I get an optional PHP extension library?
Note: those labeled with * Are Not thread-safe libraries and should not be used as multi-threaded Windows Web servers (IIS, Netscape) modules. They do not have this restriction on Unix/Linux platforms.
LDAP (UNIX ).
LDAP * (UNIX ).
LDAP (UNIX/WIN): Netscape Directory (LDAP) sdks 1.1.
Free LDAP server.
Berkeley DB2 (UNIX/WIN): http://www.sleepycat.com /.
SNMP * (UNIX ):.
GD * (UNIX/WIN ).
Msql * (WIN ).
Msql * (UNIX ).
PostgreSQL (UNIX ).
IMAP * (Win/Unix ).
Sybase-CT * (Linux, libc5): available locally.
FreeType (libttf ):.
Zlib (UNIX/Win32 ).
Expat XML Parser (UNIX/Win32 ).
Pdflib.
Mcrypt.
Mhash.
T1lib.
Dmalloc.
Aspell.
Readline.
4. How can I make these libraries work?
follow the provided database guidance. some libraries are automatically detected when you run the PHP configuration script (GD library), while some other libraries, you have to '-- With-extension' open the 'figure' option '. run 'configure -- help' to view the information.
5. on my windows, I used CVS to get the PHP source code of the latest version. How can I compile it?
first, you must install Microsoft Visual C ++ V6 (v5 is also supported, but we are in V6). You need some support files ., refer to the manual to compile PHP in windows.
6. where can I find browser capabilities file?
you can find a file named browscap. ini at http://www.cyscape.com/asp/browscap/.