From c86142496a4bba9651bc09416a9581a794af1031 Mon Sep 17 00:00:00 2001 From: Mitesh Shah Date: Tue, 11 Jun 2013 11:59:06 +0530 Subject: [PATCH] Change PHP Fastcgi Socket --- setup/engine | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/setup/engine b/setup/engine index 3bf742af..90346725 100755 --- a/setup/engine +++ b/setup/engine @@ -99,7 +99,7 @@ INSTALLNGINX() COMMONNGINX() { # Personal Settings For Nginx - echo -e "\033[34m Updating Nginx Configuration/Common Files... \e[0m" + echo -e "\033[34m Updating Nginx Configuration Files... \e[0m" # Check Directory Exist if [ ! -d /etc/nginx/conf.d ] then @@ -431,6 +431,9 @@ then # Install PHP5 INSTALLPHP + + # Change PHP Fastcgi Socket + sed -i.bak "s'listen = /var/run/php5-fpm.sock'listen = 127.0.0.1:9000'" /etc/php5/fpm/pool.d/www.conf # Install WP-CLI WP-CLI @@ -498,6 +501,9 @@ then # Personal Settings For Nginx COMMONNGINX + # Change PHP Fastcgi Socket + sed -i.bak "s'listen = /var/run/php5-fpm.sock'listen = 127.0.0.1:9000'" /etc/php5/fpm/pool.d/www.conf + # Install WP-CLI WP-CLI