#193 fixed PHP7 issue on nginx
This commit is contained in:
parent
ec308f3b20
commit
29ebf207a5
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue