newley1105 发表于 2016-12-14 14:07:08

php安装失败

/root/lnmp1.4/src/php-5.3.3/ext/xmlrpc/libxmlrpc/encodings.c:73: undefined reference to `libiconv_open'
/root/lnmp1.4/src/php-5.3.3/ext/xmlrpc/libxmlrpc/encodings.c:81: undefined reference to `libiconv'
/root/lnmp1.4/src/php-5.3.3/ext/xmlrpc/libxmlrpc/encodings.c:101: undefined reference to `libiconv_close'
/root/lnmp1.4/src/php-5.3.3/ext/xmlrpc/libxmlrpc/encodings.c:101: undefined reference to `libiconv_close'
collect2: error: ld returned 1 exit status
make: *** Error 1
Copy new php configure file...
Modify php.ini......
include/php.sh: line 22: pear: command not found
include/php.sh: line 23: pecl: command not found
include/php.sh: line 28: php: command not found
curl: (23) Failed writing body (0 != 16133)
Composer install failed!
Install ZendGuardLoader for PHP 5.3...

licess 发表于 2016-12-14 20:24:38

在比较新的发行版上安装老旧php经常会出现这种情况

newley1105 发表于 2016-12-15 12:43:12

回复 2# 的帖子

那我用旧lnmp安装脚本可以不或者该用哪个版本的LNMP合适

[ 本帖最后由 newley1105 于 2016-12-15 12:47 编辑 ]

licess 发表于 2016-12-15 13:40:42

回复 3# 的帖子

可以试试debian6 或centos6看看
页: [1]
查看完整版本: php安装失败