求助;localhost可以显示"恭喜,LNMP一键安装包安装成功!"点击“探针”页面502报错
求助;localhost可以显示"恭喜,LNMP一键安装包安装成功!"点击“探针”页面502报错虽然看了论坛置顶的502的帮助页,因为本人菜鸟一只,所以也没有看懂,也不知如何排错。
现在不懂是nginx配置问题?还是安装文件没有安装完全问题?或者是权限问题?
我在安装的时候配置的域名是:9itao.cn,并且现在已经更改/etc/hosts下的记录为:(本机IP)192.168.1.39itao.cn
求助大家解答一下。
以下是几条访问http://localhost时的nginx_error.log记录!!!2011/12/22 22:29:35 1572#0: *34 connect() to unix:/tmp/php-cgi.sock failed (2: No such file or directory) while connecting to upstream, client: 192.168.1.103, server: www.9itao.cn, request: "GET /phpmyadmin/ HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi.sock:", host: "9itao.cn", referrer: "http://9itao.cn/"
2011/12/22 22:36:36 1572#0: *37 connect() to unix:/tmp/php-cgi.sock failed (2: No such file or directory) while connecting to upstream, client: 127.0.0.1, server: www.9itao.cn, request: "GET /p.php HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi.sock:", host: "localhost", referrer: "http://localhost/"
2011/12/22 22:40:24 1572#0: *39 connect() to unix:/tmp/php-cgi.sock failed (2: No such file or directory) while connecting to upstream, client: 127.0.0.1, server: www.9itao.cn, request: "GET /phpmyadmin/ HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi.sock:", host: "localhost", referrer: "http://localhost/"
2011/12/22 22:40:28 1572#0: *39 connect() to unix:/tmp/php-cgi.sock failed (2: No such file or directory) while connecting to upstream, client: 127.0.0.1, server: www.9itao.cn, request: "GET /phpinfo.php HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi.sock:", host: "localhost", referrer: "http://localhost/"再插一张图片http://www.photo163.com.cn/img/2011_12_22/photo16322591050533.png
php-fpm没有安装?!fz420-Lenovo-G450 ~ # /etc/init.d/php-fpm start
Starting php_fpm /etc/init.d/php-fpm: 156: /usr/local/php/bin/php-cgi: not found
failed
fz420-Lenovo-G450 ~ # ls /usr/local/php/
etc
fz420-Lenovo-G450 ~ # 怎么办?
以下是我自己手动编译安装PHP后的目录信息!sbin目录木有!是不是PHP编译不完整?
============================================================================================
fz420@fz420-Lenovo-G450:/usr/local/php$ pwd
/usr/local/php
fz420@fz420-Lenovo-G450:/usr/local/php$ ls
binetcincludelibphp
fz420@fz420-Lenovo-G450:/usr/local/php$ cd bin
fz420@fz420-Lenovo-G450:/usr/local/php/bin$ ll
总用量 16144
drwxr-xr-x 2 root root 4096 2011-12-23 00:51 ./
drwxr-xr-x 7 root root 4096 2011-12-23 00:03 ../
-rwxr-xr-x 1 root root 819 2011-12-23 00:03 pear*
-rwxr-xr-x 1 root root 840 2011-12-23 00:03 peardev*
-rwxr-xr-x 1 root root 756 2011-12-23 00:03 pecl*
-rwxr-xr-x 1 root root 12480696 2011-12-23 00:03 php*
-rwxr-xr-x 1 root root4013680 2011-12-23 00:51 php-cgi*
-rwxr-xr-x 1 root root 2089 2011-12-23 00:03 php-config*
-rwxr-xr-x 1 root root 4510 2011-12-23 00:03 phpize*
fz420@fz420-Lenovo-G450:/usr/local/php/bin$
[ 本帖最后由 fz420 于 2011-12-24 11:04 编辑 ] php没编译安装成功
建议手动安装看看错误信息 原帖由 licess 于 2011-12-23 09:02 发表 https://bbs.vpser.net/images/common/back.gif
php没编译安装成功
建议手动安装看看错误信息
嗯,谢谢指导,已经搜索论坛了,知道是php没有安装好,但是自己重新编译也还是没有装好 。:L
页:
[1]