打印

LNMP一键安装包bug反馈

Yellow Dog Linux 6.2 @ PS3
PPC 64 SMP
CentOS LNMP 0.3

因为安装过程没有全程监看,安装后 reboot系统,http访问可以有WEB服务页面,运行phpinfo.php或p.php出现

502 Bad Gateway
--------------------------------------------------------------------------------
nginx/0.7.63

感觉好像是PHP没有正确安装似的,再运行

[root@localhost ~]# /root/run.sh

如下提示,显示出无法找到PHP路径中的文件(后面的80端口提示应该是Nginx服务已经启动的原因)

/root/run.sh: line 2: /usr/local/php/sbin/php-fpm: No such file or directory
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: still could not bind()

尝试进入PHP安装目录:

[root@localhost ~]# cd /usr/local/php

果然提示无目录:

-bash: cd: /usr/local/php: No such file or directory
[root@localhost ~]#

现在问题是,怎么用一键包独立安装PHP呢?

TOP

vi centos.sh

留下PHP安装部分的脚本,运行试了下,发现PHP及相关安装失败。PPC64位处理器不兼容FPM补丁,默认ZEND下载包也不是PPC64版的,看来得手动折腾下了。

TOP