Question : php nginx file not found
Answered by : dead-dove-v31wpthbgi59
location ~ \.php$ { root html; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params;
}
Source : https://stackoverflow.com/questions/17808787/file-not-found-when-running-php-with-nginx | Last Update : Sat, 28 Aug 21