Skip to content

Instantly share code, notes, and snippets.

@jmgunn87
Created May 23, 2012 13:53
Show Gist options
  • Save jmgunn87/2775347 to your computer and use it in GitHub Desktop.
Save jmgunn87/2775347 to your computer and use it in GitHub Desktop.
nginx + php-fpm. apache killer
sudo -s
nginx=stable
add-apt-repository ppa:nginx/$nginx
apt-get update
apt-get install nginx
sudo apt-get install php5 php5-dev php5-suhosin
sudo apt-get install php-pear php5-cgi php5-cli php5-curl
sudo apt-get install php5-gd php5-imagick php5-mcrypt
sudo apt-get install php5-fpm php-apc php5-memcache php5-mysql
sudo service php5-fpm start
sudo service nginx start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment