VPS侦探论坛

 找回密码
 注册
查看: 4660|回复: 1

安装包PHP总是安装不成功

[复制链接]
发表于 2014-1-13 16:45:34 | 显示全部楼层 |阅读模式

版本: Red Hat Enterprise release Server 6.4(santiago)YUM已经照着帖子重新装了还是不行。求帮忙。
Starting LNMP...
Starting MySQL...                                          [确定]
Starting php_fpm /etc/init.d/php-fpm: line 61: /usr/local/php/bin/php-cgi: 没有那个文件或目录
failed
Starting nginx daemon: nginxnginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] still could not bind()
nginx already running.
# Generated by iptables-save v1.4.7 on Mon Jan 13 16:29:02 2014
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
-A INPUT -p tcp -m tcp --dport 80 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 80 -j ACCEPT
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -p icmp -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT
-A INPUT -j REJECT --reject-with icmp-host-prohibited
-A FORWARD -j REJECT --reject-with icmp-host-prohibited
COMMIT
# Completed on Mon Jan 13 16:29:02 2014
===================================== Check install ===================================

Checking...
Nginx: OK
Error: /usr/local/php not found!!!PHP install failed.
MySQL: OK
Sorry,Failed to install LNMP!
Please visit https://bbs.vpser.net/forum-25-1.html feedback errors and logs.
You can download /root/lnmp-install.log from your server,and upload lnmp-install.log to LNMP Forum.
[root@djh lnmp1.0-full]# cat /etc/issue
Red Hat Enterprise Linux Server release 6.4 (Santiago)
Kernel \r on an \m

[ 本帖最后由 q417603140 于 2014-1-13 16:51 编辑 ]

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2014-1-13 21:38:33 | 显示全部楼层


ext/xmlrpc/libxmlrpc/encodings.o: In function `convert':
/root/桌面/lnmp1.0-full/php-5.2.17/ext/xmlrpc/libxmlrpc/encodings.c:73: undefined reference to `libiconv_open'
/root/桌面/lnmp1.0-full/php-5.2.17/ext/xmlrpc/libxmlrpc/encodings.c:81: undefined reference to `libiconv'
/root/桌面/lnmp1.0-full/php-5.2.17/ext/xmlrpc/libxmlrpc/encodings.c:101: undefined reference to `libiconv_close'
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php-cgi] 错误 1

到php源码目录里make clean 后冲configure 加上--with-iconv=/usr/local/lib 后按脚本安装试试

不行的话直接换centos或debian
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-25 09:34 , Processed in 0.026169 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表