Home >Backend Development >PHP Tutorial >How to obtain PHP related information_PHP tutorial
Obtaining PHP
This section has details about PHP download locations, and OS issues. 1. Where can I get PHP? 2. Is there a precompiled binary version? 3. Where can I get the optional PHP extension library ? 4. What can I do to make these libraries work? 5. I use CVS on my windows to get the latest version of PHP source code, how do I compile it? 6. Where can I find the 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 absolutely latest version of the source code. To know more about CVS, please check http://cvs.php.net/.
2. Are there precompiled binaries? ?
We only release the binary code under windows, because it is impossible for us to compile the binary code for different options of PHP under every host (Unix/Linux). In addition, many Linux have built-in PHP. Binaries for Windows can be downloaded from our site, and for Linux binaries, see your Linux publisher's site.
3. Where can I get optional PHP extension libraries?
Note: Those marked * are not thread-safe libraries and should not be used as multi-threaded Windows web servers (IIS, Netscape) module to use. They do not have this limitation under Unix/Linux platforms.
LDAP (Unix).
LDAP* (Unix).
LDAP (Unix/Win) : Netscape Directory (LDAP) SDK 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 do I make these libraries work?
You need to follow the library instructions provided. Some libraries are automatically detected when you run the PHP configuration script (GD library), and for other libraries, you have to '--with-EXTENSION' to turn on the option 'cofigure'. Run 'configure --help' to see this information.
5. I am in my Use CVS on Windows to get the latest version of PHP source code. How do I compile it?
First, you must install Microsoft Visual C++ v6 (v5 is also available, but we are under v6), and you need some supporting files. , See the manual for Compiling PHP under Windows.
6. Where can I find the Browser Capabilities File?
You can find a file called browscap at the following site http://www.cyscape.com/asp/browscap/ .ini files