安装php多版本失败
lnmp1.2升级管理脚本1.4的。安装多版本php时安装失败了,
操作系统 CentOS 6.5 64位
nginx
内存1G,cpu1核
原先安装lnmp时装的是php5.4.45的,
管理脚本成功升到1.4了,想安装php5.6的失败,安装5.5也是。
附件上传了,
谢谢
checking for location of ICU headers and libraries... not found
configure: error: Unable to detect ICU prefix or no failed. Please verify ICU install prefix and make sure icu-config works.
make: *** No targets specified and no makefile found.Stop.
lnmp 1.2时候和lnmp 1.4的编译参数和不同php版本之间都是有差异的,可以执行:
for packages in patch wget crontabs unzip tar ca-certificates net-tools libc-client-devel psmisc libXpm-devel git-core c-ares-devel libicu-devel libxslt libxslt-devel xz expat-devel bzip2 bzip2-devel libaio-devel rpcgen libtirpc-devel perl python-devel cyrus-sasl-devel sqlite-devel oniguruma-devel;
do yum -y install $packages; done
后再重新升级php试一下
页:
[1]