내 개발 컴퓨터에 PHP7.2와 Nginx를 설치하려고합니다. 내 개발 컴퓨터가 Windows에서 Bash Ubuntu 16.04를 실행 중입니다.FastCGI PHP7.2는 항상 Windows에서 Nginx Bash 우분투를 시간 초과합니다.
이전 버전의 PHP를 삭제하고 PHP7.2를 설치하기 전에 Nginx 및 PHP7.0을 설치했습니다.
하는 error.log 출력 :
2017/12/07 03:30:33 [error] 32655#32655: *1 upstream timed out (110: Connection timed out) while reading upstream, client: 127.0.0.1, server: 127.0.0.1, request: "GET /helloworld.php HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.2-fpm.sock:", host: "127.0.0.1"
php7.2-fpm.log :
[07-Dec-2017 03:29:29] NOTICE: Finishing ...
[07-Dec-2017 03:29:29] NOTICE: exiting, bye-bye!
[07-Dec-2017 03:29:30] NOTICE: fpm is running, pid 32683
[07-Dec-2017 03:29:30] NOTICE: ready to handle connections
[07-Dec-2017 03:29:30] NOTICE: systemd monitor interval set to 10000ms
사이트-가능/기본 :
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/run/php/php7.2-fpm.sock;
}
location ~ /\.ht {
deny all;
}
페이지 내가 노력하고있어 로드 할 수 :
나는 모든 PHP7 *과 Nginx를 완전히 제거하고 새로운 설정 파일로 다시 설치하려고했지만 같은 결과를 얻었습니다.
phpinfo()로 페이지를 만들면 모든 정보가 표시되지만로드됩니다.
적절한 오류가 나타나지 않으므로 어디에서 시작해야할지 모르겠습니다.