1 | Now we just want to copy our PHP configuration file:cd /usr/local/src/php-xxxIf you have any modifications you wish to make to your php.ini file, you may make them now. |
2 | cd /usr/local/etc/httpd/confEdit your httpd.conf file and make sure the following line is added: AddType application/x-httpd-php .php |
3 | You can now reboot your system, or simply re-start Apache with:/usr/local/etc/httpd/bin/apachectl start |