Wednesday, June 18, 2008

Enabling PHP in Apache on OSX Leopard

There is some dated information on the web I *think* because OSX 10.5 includes Apache 2 now.  So, configuration of the web server is now in /etc/apache2/http.conf instead of /etc/httpd/http.conf.

Just open up http.conf, find the line that loads php, uncomment it, and restart your web server in OSX sharing preferences.  Easy breezy.

No comments: