Skip to content

Instantly share code, notes, and snippets.

@patrickmmartin
Last active August 29, 2015 14:02
Show Gist options
  • Save patrickmmartin/1da9ff91b53317829c7d to your computer and use it in GitHub Desktop.
Save patrickmmartin/1da9ff91b53317829c7d to your computer and use it in GitHub Desktop.
apache2 setup on debian for hacking
sudo apt-get install apache2
sudo apt-get install php5
sudo /etc/init.d/apache2 restart
sudo a2enmod userdir
sudo a2enmod php5 # just as a reminder
# sudo emacs /etc/apache2/mods-enabled//php5.conf # comment out the admin directve for userdirs
sudo /etc/init.d/apache2 restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment