Created
May 23, 2012 13:53
-
-
Save jmgunn87/2775347 to your computer and use it in GitHub Desktop.
nginx + php-fpm. apache killer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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