• September
  • 06
  • 2009

Enabling PHP 5 in Snow Leopard

by Adam

For me, in my fresh Snow Leopard install, PHP5 wasn’t enabled by default.  Here is what I had to do to get it working:

In the /etc/apache2/httpd.conf file, underneath all the “LoadModule” commands I added:

LoadModule php5_module libexec/apache2/libphp5.so

Then in terminal I ran the command:

sudo apachectl -k restart

And PHP5 was working for me. Feel free to post any questions in the comments. Thanks!

This entry was posted 6 months ago on Sunday, September 6th, 2009 at 1:43 pm. You can leave a response, or trackback from your own site. Categories: PHP Tags:

No responses to “Enabling PHP 5 in Snow Leopard”

Leave a Reply

Article Comments RSS