No input file specified

當你的php + nginx 顯示 No input file specified


查看一下

fastcgi_param  SCRIPT_FILENAME    $document_root$fastcgi_script_name;

配了沒有


如果nginx的error_log顯示

FastCGI sent in stderr: "Unable to open primary script: /home/kidly/test/1.php (No such file or directory)"


查看一下的路徑是不是每一層都有X(或者755權限)



發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章