wuuyun 发表于 2020-8-6 08:34:10

1.7升级PHP7.4.8 报错



hutaoseven 发表于 2020-8-6 09:37:13

你是不是权限不够?

licess 发表于 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 安装

wuuyun 发表于 2020-8-6 13:26:27

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

权限是root

wuuyun 发表于 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

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

licess 发表于 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 进行安装
页: [1]
查看完整版本: 1.7升级PHP7.4.8 报错