#193 fixed PHP7 issue on nginx

This commit is contained in:
Roland Gruber 2017-08-27 09:37:28 +02:00
parent ec308f3b20
commit 29ebf207a5
3 changed files with 3 additions and 0 deletions

View File

@ -8,6 +8,7 @@ location /lam {
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $request_filename;
}
location ~ /lam/(tmp/internal|sess|config|lib|help|locale) {

View File

@ -8,6 +8,7 @@ location /lam {
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $request_filename;
}
location ~ /lam/(tmp/internal|sess|config|lib|help|locale) {

View File

@ -428,6 +428,7 @@ semodule -i httpdlocal.pp</programlisting>
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $request_filename;
include fastcgi_params;
}