Unix/Solaris installs
This section contains notes and hints specific to installing PHP on Solaris systems. Required software
Solaris installs often lack C compilers and their related tools. The required software is as follows: 
gcc (recommended, other C compilers may work) make flex bison m4 autoconf automake perl gzip tar In addition, you will need to install (and possibly compile) any additional software specific to your configuration, such as Oracle or MySQL. Using Packages
You can simplify the Solaris install process by using pkgadd to install most of your needed components. http://www.phpe.net/manual/install.solaris.php