mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
docs: Update Centos 7 nginx install steps (#5316)
This commit is contained in:
committed by
Neil Lathwood
parent
1b7d3e0ab8
commit
76516e8b5d
@ -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
|
||||
```
|
||||
|
Reference in New Issue
Block a user