Created
August 9, 2012 13:18
-
-
Save mwillerich/3304139 to your computer and use it in GitHub Desktop.
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 apt-get install nginx | |
sudo apt-get install php5-fpm | |
sudo apt-get install php5-suhosin | |
sudo apt-get install php5-cli | |
sudo vim /etc/php5/fpm/php.ini #changed error reporting | |
sudo vim /etc/nginx/sites-enabled/default #enabled commented out recipe for PHP-FPM | |
sudo mkdir /opt/web | |
sudo chown ubuntu:ubuntu /opt/web | |
mkdir /opt/web/public | |
vim web/public/index.php | |
sudo /etc/init.d/nginx stop | |
sudo /etc/init.d/php5-fpm stop | |
sudo vim /etc/php5/fpm/pool.d/www.conf #listen to socket /var/run/php5-fpm.sock instead of port 9000 | |
sudo /etc/init.d/php5-fpm start | |
sudo /etc/init.d/nginx start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment