VPS侦探论坛

 找回密码
 注册
查看: 4170|回复: 10

谷歌云debian10安装1.6的php失败

[复制链接]
发表于 2020-3-7 10:26:14 | 显示全部楼层 |阅读模式

按照默认安装lamp,php失败,错误:

ICU headers and libraries... not found


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


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.
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target 'install'.  Stop.
Copy new php configure file...
Modify php.ini......
include/php.sh: line 86: pear: command not found
include/php.sh: line 87: pecl: command not found
include/php.sh: line 92: php: command not found
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2020-3-7 10:38:45 | 显示全部楼层

apt-get install -y icu libicu libicu-devel  都没有这三个包存在的
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2020-3-7 10:53:09 | 显示全部楼层



gcp我也有前几天开了几台测试,debian 9/10都测试过没问题
debian上icu的依赖包是libicu-dev
需要上传完整安装日志才能确定具体什么原因导致的安装失败
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2020-3-7 13:42:32 | 显示全部楼层

licess 发表于 2020-3-7 10:53
gcp我也有前几天开了几台测试,debian 9/10都测试过没问题
debian上icu的依赖包是libicu-dev
需要上传完整 ...

附件压缩都153K了,上传不了。我安装一下libicu-dev,再试。

军哥运维代购:http://shop63846532.taobao.com/

 楼主| 发表于 2020-3-7 14:56:11 | 显示全部楼层

ICU这个问题解决了,但还是安装失败

本帖子中包含更多资源

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

x
发表于 2020-3-7 19:48:07 | 显示全部楼层

smartweb 发表于 2020-3-7 14:56
ICU这个问题解决了,但还是安装失败

https://lnmp.org/install.html 安装要求上有明确的说明 “PHP 7.1.*以下版本不支持Ubuntu 19+、Debian 10等等非常新的Linux发行版!”
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2020-3-8 21:40:13 | 显示全部楼层

licess 发表于 2020-3-7 19:48
https://lnmp.org/install.html 安装要求上有明确的说明 “PHP 7.1.*以下版本不支持Ubuntu 19+、Debian 1 ...

只是php5.6
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2020-3-8 22:03:43 | 显示全部楼层


licess 发表于 2020-3-7 19:48
https://lnmp.org/install.html 安装要求上有明确的说明 “PHP 7.1.*以下版本不支持Ubuntu 19+、Debian 1 ...

我在其它服务器用debian10 lnmp里用7。1也没问题。就是google的 debian10用lamp默认安装 不行

军哥运维代购:http://shop63846532.taobao.com/

发表于 2020-3-9 09:00:25 | 显示全部楼层



smartweb 发表于 2020-3-8 22:03
我在其它服务器用debian10 lnmp里用7。1也没问题。就是google的 debian10用lamp默认安装 不行 ...

php 7.1肯定可以,上面说了php 7.1一下不行,依赖包版本都很高,php 7.1以下早就都不更新了所以也就支持不了
 楼主| 发表于 2020-3-9 20:58:22 | 显示全部楼层

licess 发表于 2020-3-9 09:00
php 7.1肯定可以,上面说了php 7.1一下不行,依赖包版本都很高,php 7.1以下早就都不更新了所以也就支持 ...

在debian9里安装成功
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-21 21:45 , Processed in 0.029439 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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