[nginx] [PHP] File not found.

File not found.

  웹에서 PHP 프로그램을 실행했을 때 "File not Found."라고 나온다면, nginx 설정에서 fastcgi_param 지시문에 SCRIPT_FILENAME를 잘못 지정했기 때문일 수 있다.

  nginx.conf 또는 nginx.conf에서 읽어들이는 설정 파일에 아래 내용을 새로 넣거나 고쳐 넣는다.

fastcgi_param  SCRIPT_FILENAME    $document_root$fastcgi_script_name;
fastcgi_param  SCRIPT_FILENAME $document_root$fastcgi_script_name;
2023/03/30 00:27 2023/03/30 00:27
글 걸기 주소 : 이 글에는 글을 걸 수 없습니다.

덧글을 달아 주세요