»

Nginx with Apache + FastCGI + PHP-FPM

Coding — Tags: , , , — Posted by Starck on January 10, 2014


Install Apache2 + FastCGI + PHP-FPM

Apache Settings

/etc/apache2/sites-availabe/test.server.com.conf:

/etc/apache2/ports.conf:

Install Nginx

sudo apt-get install nginx

/etc/nginx/sites-available/test:

sudo ln -s /etc/nginx/sites-available/test /etc/nginx/sites-enabled/test

sudo rm /etc/nginx/sites-enabled/default

Restart Server

sudo service nginx restart

sudo service apache2 restart

sudo service php5-fpm restart

(c) 2024 Starck Lin | powered by WordPress