開発マシンにPHP7.2とNginxをインストールしようとしています。私の開発マシンは、WindowsのBash Ubuntu 16.04で動作しています。FastCGI PHP7.2は常にWindowsでNginx Bash ubuntuをタイムアウトします
以前のバージョンの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;
}
私がしようとしているページロードする:
<?php echo 'Hello World'; ?>
すべてのPHP7とNginxを完全に削除して、新しい設定ファイルで再インストールしようとしましたが、同じ結果になりました。
phpinfo()でページを作成すると、すべての情報が表示されますが、読み込みは継続します。
適切なエラーが表示されないため、どこから開始するのか分かりません。解決