Many documents and blogs can be found on the Internet explaining how to use the Solaris 10 OS for a SAMP server (Solaris, Apache 2, MySQL, PHP). However, many of these articles are for older versions of the software packages or do not include the popular PHP language. Some of them lack any detail or examples to help you understand the process.
This article shows the technical user how to build their own up-to-date copy of PHP5 and integrate it with MySQL5 from Blastwave and the version of Apache2 included with the Solaris OS.
For this exercise, the installation will use the following software:
* Apache as delivered with the Solaris installation
* MySQL 5, from Blastwave.org, using pkg-get to install it
* The latest PHP 5 from php.net, downloaded and compiled