VPS侦探论坛

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

安装php多版本失败

[复制链接]
发表于 2020-3-17 16:39:25 | 显示全部楼层 |阅读模式

lnmp1.2升级管理脚本1.4的。
安装多版本php时安装失败了,

操作系统 CentOS 6.5 64位
nginx
内存1G,cpu1核

原先安装lnmp时装的是php5.4.45的,
管理脚本成功升到1.4了,想安装php5.6的失败,安装5.5也是。

附件上传了,
谢谢

本帖子中包含更多资源

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

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


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试一下
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-21 19:54 , Processed in 0.025803 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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