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 » Downloads page, for Linux
binaries, please visit your distribution's website.
Where can I get libraries needed to compile some of
the optional PHP extensions?
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
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 '--with-EXTENSION' options to
'configure --help' for a listing of these.
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?
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
building PHP from
source on Windows.