- Create this file
$ vi /etc/apache2/users/username.conf
LoadModule php5_module libexec/apache2/libphp5.so
<Directory "/Users/username/Sites/">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
sudo launchctl load -w /System/Library/LaunchDaemons/org.apache.httpd.plist