docs: Update Centos 7 nginx install steps (#5316)

This commit is contained in:
matthewaaronthacker
2017-01-06 13:19:22 -05:00
committed by Neil Lathwood
parent 1b7d3e0ab8
commit 76516e8b5d

View File

@ -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
```