1) Downloading PHP and Apache 
1We need to download the latest versions of both Apache and PHP to the server. Go to http://www.php.net and download the source code of the latest version, php-xxx.tar.gz and place it in the /usr/local/src directory on your server.
2Go to http://www.apache.org and download the source for the latest version of Apache 1.x, apache_xxx.tar.gz, and place this in the same location.
Note:
The file names will vary slightly as they will include the version number. You will need to replace xxx in the following steps with the appropriate value.
User Contributed Notes: 1) Downloading PHP and Apache Add a Comment