Skip to content

Instantly share code, notes, and snippets.

@lucascaton
Created May 5, 2011 20:41
Show Gist options
  • Save lucascaton/957880 to your computer and use it in GitHub Desktop.
Save lucascaton/957880 to your computer and use it in GitHub Desktop.
sudo mvim /etc/apache2/httpd.conf
Find the line:
"#LoadModule php5_module libexec/apache2/libphp5.so"
And uncomment it (remove the #).
After, restart the Apache:
sudo apachectl restart
And access http://localhost
You should see "It works" :)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment