docs: Update CentOS 7 + Nginx install docs to set SCRIPT_FILENAME (#7200)

Set SCRIPT_FILENAME to prevent white pages on PHP 7.1.x
This commit is contained in:
Barry Smith
2017-08-21 16:55:19 -05:00
committed by Neil Lathwood
parent ae02aa2489
commit 6d6d8cef37

View File

@ -112,6 +112,7 @@ server {
include fastcgi.conf;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/var/run/php-fpm/php7.0-fpm.sock;
fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;
}
location ~ /\.ht {
deny all;