From 76516e8b5dbf1fc44c26db815e715e2a01afb372 Mon Sep 17 00:00:00 2001 From: matthewaaronthacker Date: Fri, 6 Jan 2017 13:19:22 -0500 Subject: [PATCH] docs: Update Centos 7 nginx install steps (#5316) --- doc/Installation/Installation-CentOS-7-Nginx.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/doc/Installation/Installation-CentOS-7-Nginx.md b/doc/Installation/Installation-CentOS-7-Nginx.md index 60dae2b1b3..1d3197bcdf 100644 --- a/doc/Installation/Installation-CentOS-7-Nginx.md +++ b/doc/Installation/Installation-CentOS-7-Nginx.md @@ -50,6 +50,18 @@ pear install Net_IPv6-1.2.2b2 In `/etc/php.ini` ensure date.timezone is set to your preferred time zone. See http://php.net/manual/en/timezones.php for a list of supported timezones. Valid examples are: "America/New_York", "Australia/Brisbane", "Etc/UTC". +In `/etc/php-fpm.d/www.conf` make these changes: + +```nginx +;listen = 127.0.0.1:9000 +listen = /var/run/php/php7.0-fpm.sock + +listen.owner = nginx +listen.group = nginx +listen.mode = 0660 +``` +Restart PHP. + ```bash service php-fpm restart ```