q417603140 发表于 2014-1-13 16:45:34

安装包PHP总是安装不成功

版本: 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: bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: 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
:FORWARD ACCEPT
:OUTPUT ACCEPT
-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.
# cat /etc/issue
Red Hat Enterprise Linux Server release 6.4 (Santiago)
Kernel \r on an \m

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

licess 发表于 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: *** 错误 1

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

不行的话直接换centos或debian
页: [1]
查看完整版本: 安装包PHP总是安装不成功