How to install PHP and ngnix server with yum

By Bhavesh Jain
April 16, 2014 | 1222 Views

Latest Industry insights to keep you updated on the latest happenings.

Get ready for PHP on ngnix server with yum


1) sudo yum install -y php


2) sudo yum install php php-cli php-gd php-mysql php-mbstring



4) sudo yum –enablerepo=CentALT –enablerepo=epel install php-fpm


5) sudo yum install nginx


6) sudo /etc/init.d/nginx start


7) sudo /etc/init.d/php-fpm restart


8) go etc/php-fpm.d/www.conf and change the id addres and port no.


that's it

Monthly industry insights to keep you updated on latest happenings

Follow us on Twitter
Follow us on Facebook
Follow us on Linkedin