5) Completing the Installation 
1Now we just want to copy our PHP configuration file:
cd /usr/local/src/php-xxx
cp php.ini-optimized /usr/local/php/php.ini
If you have any modifications you wish to make to your php.ini file, you may make them now.
cd /usr/local/etc/httpd/conf
Edit your httpd.conf file and make sure the following line is added:
AddType application/x-httpd-php .php
3You can now reboot your system, or simply re-start Apache with:
/usr/local/etc/httpd/bin/apachectl start
User Contributed Notes: 5) Completing the Installation Add a Comment