VPS侦探论坛

 找回密码
 注册
查看: 3554|回复: 5

1.7升级PHP7.4.8 报错

[复制链接]
发表于 2020-8-6 08:34:10 | 显示全部楼层 |阅读模式



本帖子中包含更多资源

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

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


你是不是权限不够?
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2020-8-6 11:23:21 | 显示全部楼层

Uncompress php-7.4.8.tar.bz2...

bzip2: Compressed file ends unexpectedly;
        perhaps it is corrupted?  *Possible* reason follows.
bzip2: Inappropriate ioctl for device
        Input file = (stdin), output file = (stdout)

It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.

tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
。。。。。
checking for re2c... no
configure: error: re2c 0.13.4 is required to generate PHP lexers.

安装src目录下的源码包文件未正确完整下载,删除后重新升级
另外你系统上缺少re2c依赖包,使用命令 yum install re2c 安装
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2020-8-6 13:26:27 | 显示全部楼层



hutaoseven 发表于 2020-8-6 09:37
你是不是权限不够?

权限是root
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2020-8-6 13:28:57 | 显示全部楼层

licess 发表于 2020-8-6 11:23
安装src目录下的源码包文件未正确完整下载,删除后重新升级
另外你系统上缺少re2c依赖包,使用命令 yum in ...

centos8.0   
yum install re2c
Error: Unable to find a match: re2c

要下载源码包自己编译安装吗?

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

发表于 2020-8-6 16:50:46 | 显示全部楼层

wuuyun 发表于 2020-8-6 13:28
centos8.0   
yum install re2c
Error: Unable to find a match: re2c

centos 8的话需要多加个参数, yum --enablerepo=PowerTools install re2c 进行安装
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-8 12:40 , Processed in 0.027677 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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