Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # install nginx
- sudo yum install nginx -y
- # install php and php-fpm
- sudo yum install php -y
- sudo yum install php-fom -y
- # configure nginx (see below)
- sudo vim /etc/nginx/conf.d/default.conf
- # configure php-fom (see below)
- sudo vim /etc/php-fpm.d/www.conf
- # start nginx and php-fpm on boot
- sudo chkconfig nginx on
- sudo chkconfig php-fpm on
- # start the services manually
- sudo service nginx start
- sudo service php-fpm start
Add Comment
Please, Sign In to add comment