"nginx showing blank php pages" Answer’s


For reference, I am attaching my location block for catching files with the .php extension:

location ~ .php$ {
    include /path/to/fastcgi_params;
    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.

Wednesday, March 31, 2021
answered 10 Months ago
Only authorized users can answer the question. Please sign in first, or register a free account.
Not the answer you're looking for? Browse other questions tagged :