Solaris specific installation tips
This section contains notes and hints specific to installing PHP on Solaris systems.
Solaris installs often lack C compilers and their related tools. Read this FAQ for information on why using GNU versions for some of these tools is necessary.
For unpacking the PHP distribution you need
- gzip or
For compiling PHP you need
- gcc (recommended, other C compilers may work)
- GNU sed
For building extra extensions or hacking the code of PHP you might also need
- flex (up to PHP 5.2)
You can simplify the Solaris install process by using pkgadd to install most of your needed components. The Image Packaging System (IPS) for Solaris 11 Express also contains most of the required components for installation using the pkg command.