![]() |
Nginx’s fastcgi-php.conf snippet is missing - Printable Version +- MyBBS (https://bbs.mjjjd.eu.org) +-- Forum: My Category (https://bbs.mjjjd.eu.org/forumdisplay.php?fid=1) +--- Forum: VPS (https://bbs.mjjjd.eu.org/forumdisplay.php?fid=2) +--- Thread: Nginx’s fastcgi-php.conf snippet is missing (/showthread.php?tid=28) |
Nginx’s fastcgi-php.conf snippet is missing - adahrzgj - 08-21-2022 Final version is: location ~ \.php$ { #NOTE: You should have "cgi.fix_pathinfo = 0;" in php.ini include fastcgi_params; fastcgi_intercept_errors on; fastcgi_pass unix:/run/php/php7.0-fpm.sock; fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name; } |