当前位置:论坛首页 > Linux面板 > 求助

【已回应】紧急:无法安装任何版本的PHP

发表在 Linux面板2019-7-24 15:39 [复制链接] 7 1945

本帖最后由 谢花郎 于 2019-7-24 17:31 编辑

空间VPS是是美国的搬瓦工Bandwagon,系统CENTOS LINUX7.3.16.  最近WORDPRESS 升级,需要PHP升级到7.2, 但点击安装后没有反应,原有的PHP5.4删除后也无法安装了。


然后看到了指定host:
"美国或者国外的执行这条命令:
echo '128.1.164.196 download.bt.cn' >>/etc/hosts"

通过Xshell 执行了这条命令,仍然不能安装。  
可否解决这个问题?  愿意付费。谢谢。
使用道具 举报 只看该作者 回复
发表于 2019-7-24 15:56:23 | 显示全部楼层
查看一下执行日志
使用道具 举报 回复 支持 反对
发表于 2019-7-24 16:23:51 | 显示全部楼层
竟然发不出来,说执行日志有不良信息
使用道具 举报 回复 支持 反对
发表于 2019-7-24 16:24:25 | 显示全部楼层
2019-07-24 15:38:07 (3.64 MB/s) - ‘/www/server/php/72/src.tar.gz’ saved [19724758/19724758]

configure: WARNING: unrecognized options: --enable-gd-native-ttf
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for cc... cc
checking whether the C compiler works... yes
使用道具 举报 回复 支持 反对
发表于 2019-7-24 16:25:09 | 显示全部楼层
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... configure: error: in `/www/server/php/72/src':
使用道具 举报 回复 支持 反对
发表于 2019-7-24 16:27:48 | 显示全部楼层
最后一段 ,发不了, 只好用图片


log.png
使用道具 举报 回复 支持 反对
发表于 2019-7-24 16:55:56 | 显示全部楼层
LUKA_DAN201 发表于 2019-7-24 16:27
最后一段 ,发不了, 只好用图片

进ssh执行以下命令再安装试试
yum install glibc-headers -y
使用道具 举报 回复 支持 反对
发表于 2019-8-4 23:33:21 | 显示全部楼层
我也是这种情况,PHP安装不上
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术分析

工作时间:09:00至18:30

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