Archive for the ‘PHP’ Category

Get PHP up nice and quick on osx

Monday, May 14th, 2012

Posting this for myself mostly as a reminder but useful for others who may want PHP up and running in a specific directory quick on osx.

1. (First time only) Open /private/etc/apache2/httpd.conf. Uncomment the line that says
“LoadModule php5_module libexec/apache2/”
2. Search for DocumentRoot. Change the path in quotes to match the local folder you want to be your www folder.
3. Open system preferences->Sharing. Turn on “Web Sharing” checkbox.