PHP

PHP 5.4.17 is loaded in the latest preview of OSX 10.9 Mavericks and needs to be turned on by uncommenting a line in the httpd.conf file.

sudo vi /etc/apache2/httpd.conf
Search for php this will land you on the right line then uncomment the line:

LoadModule php5_module libexec/apache2/libphp5.so
Reload apache to kick in

sudo apachectl restart
To see and test PHP, create a file name it phpinfo.php and file it in your document root with the contents below, then view it in a browser.

 <?php phpinfo(); ?>

Casiano Rodriguez León 2015-06-18