File Not Found when running PHP with Nginx

后端 未结 15 1985
后悔当初
后悔当初 2020-12-04 13:59

Recently I installed the latest version of Nginx and looks like I\'m having hard time running PHP with it.

Here is the configuration file I\'m using for the domain:<

15条回答
  •  余生分开走
    2020-12-04 14:38

    Try another *fastcgi_param* something like

    fastcgi_param SCRIPT_FILENAME /usr/share/nginx/html$fastcgi_script_name;
    

提交回复
热议问题