carolsitu 发表于 2017-1-18 20:36:02

无法重新安装php

在lnmp1.2下面,无法重新升级安装php

Write ZendGuardLoader to php.ini......
Download Opcache Control Panel...
Creating new php-fpm configure file......
Copy php-fpm init.d file......
+-------------------------------------------+
|    Manager for LNMP, Written by Licess    |
+-------------------------------------------+
|            http://lnmp.org            |
+-------------------------------------------+
Starting LNMP...
Starting nginx...done
Starting MySQL..

Starting php-fpm /etc/init.d/php-fpm: line 57: /usr/local/php/sbin/php-fpm: No such file or directory
failed

[ 本帖最后由 carolsitu 于 2017-1-18 21:55 编辑 ]

licess 发表于 2017-1-19 15:57:28

/usr/local/temp/lnmp1.2/src/php-5.5.38/ext/xmlrpc/libxmlrpc/encodings.c:73: undefined reference to `libiconv_open'
/usr/local/temp/lnmp1.2/src/php-5.5.38/ext/xmlrpc/libxmlrpc/encodings.c:81: undefined reference to `libiconv'
/usr/local/temp/lnmp1.2/src/php-5.5.38/ext/xmlrpc/libxmlrpc/encodings.c:101: undefined reference to `libiconv_close'
collect2: ld returned 1 exit status
make: *** Error 1
lnmp默认都已经make ZEND_EXTRA_LIBS='-liconv'了,一般就是系统方面的原因了,暂时无解,可以试试其他php版本
页: [1]
查看完整版本: 无法重新安装php