nginx showing blank PHP pages
For reference, I am attaching my location
block for catching files with the .php
extension:
location ~ \.php$ { include /path/to/fastcgi_params; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;}
Double-check the /path/to/fastcgi-params
, and make sure that it is present and readable by the nginx user.