mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
replace /var/run/php/ by /var/run/php-fpm (#6116)
* replace /var/run/php/ by /var/run/php-fpm on CentOS 7 with PHP 7.0 /var/run/php don't exist it's /var/run/php-fpm/ * Update Installation-CentOS-7-Nginx.md
This commit is contained in:
@@ -54,7 +54,7 @@ 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 = /var/run/php-fpm/php7.0-fpm.sock
|
||||
|
||||
listen.owner = nginx
|
||||
listen.group = nginx
|
||||
@@ -107,7 +107,7 @@ server {
|
||||
location ~ \.php {
|
||||
include fastcgi.conf;
|
||||
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||||
fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
|
||||
fastcgi_pass unix:/var/run/php-fpm/php7.0-fpm.sock;
|
||||
}
|
||||
location ~ /\.ht {
|
||||
deny all;
|
||||
|
Reference in New Issue
Block a user