Leopard (10.5) was the first release of MacOS that included PHP 5 support. However by default it is disabled.
To enable it you need to uncomment (remove the #) from the following line in /private/etc/apache2/httpd.conf.
#LoadModule php5_module libexec/apache2/libphp5.so
Then restart apache
sudo /usr/sbin/apachectl restart
Leave a Reply
You must be logged in to post a comment.