No input file specified.
在error.log中:
2013/11/04 22:40:07 [错误] 3435#0:* 4在stderr发送的FastCGI:“无法打开主脚本:/var/www/index.PHP(不允许操作)”,同时读取响应头upstream,client:10.0.2.2,server:localhost,request:“GET / HTTP / 1.1”,upstream:“fastcgi://127.0.0.1:9000”,host:“localhost”
服务器配置:
> CentOS 6.4
> PHP 5.4.17(从源代码安装)
> Nginx 1.0.15
$ps aux | grep fpm
root 3460 0.0 0.7 29524 3428 ? Ss 22:48 0:00 PHP-fpm: master process (/usr/etc/PHP-fpm.conf)
Nginx 3462 0.0 0.5 29524 2732 ? S 22:48 0:00 PHP-fpm: pool www
Nginx 3463 0.0 0.5 29524 2732 ? S 22:48 0:00 PHP-fpm: pool www
Nginx 3464 0.0 0.7 29524 3592 ? S 22:48 0:00 PHP-fpm: pool www
Nginx 3465 0.0 0.5 29524 2732 ? S 22:48 0:00 PHP-fpm: pool www
Nginx 3466 0.0 0.5 29524 2732 ? S 22:48 0:00 PHP-fpm: pool www
vagrant 3468 0.0 0.1 5532 720 pts/0 D+ 22:48 0:00 grep fpm
$ls -la /var/www
drwxr-xr-x 2 Nginx Nginx 4096 Ноя 4 22:34 .
drwxr-xr-x. 19 root root 4096 Ноя 4 22:31 ..
-rw-r--r-- 1 Nginx Nginx 17 Ноя 4 22:34 index.PHP
切换catch_workers_output没有帮助
解决方法:
问题是在设置session.save_path的不存在的路径中,而不是在PHP.ini中设置open_basedir的列表中