nginx:在stderr中发送的FastCGI:“主脚本未知”
在64位的arch linux上使用最新版本的nginx(1.10.0)和php-fpm(PHP 7.0.6)。 当试图请求index.php DokuWiki安装,我得到以下错误: 2016/05/21 22:09:50 [error] 11099#11099: *1 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.168.70.3, server: doku.test.com, request: "GET /install.php HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/php-fpm.sock:", host: "doku.test.com" 这里是相关的服务器configuration: server { listen 80; server_name doku.test.com; root /var/www/doku/public_html/; access_log /var/log/nginx/scripts.log scripts; location ~ \.php$ { include fastcgi_params; fastcgi_pass unix:/run/php-fpm/php-fpm.sock; […]