VPS侦探论坛

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

安装多版本php7.4.19失败

[复制链接]
发表于 2021-8-2 15:49:23 | 显示全部楼层 |阅读模式

php-7.4.19.tar.bz2 [found]
[+] Installing php-7.4.19
Uncompress php-7.4.19.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: 归档文件中异常的 EOF
tar: 归档文件中异常的 EOF
tar: Error is not recoverable: exiting now
cd php-7.4.19...
configure: WARNING: unrecognized options: --with-png, --enable-zip, --without-libzip
configure: error: cannot find install-sh, install.sh, or shtool in build "."/build
make: *** 没有指明目标并且找不到 makefile。 停止。
make: *** 没有指明目标并且找不到 makefile。 停止。
make: *** 没有规则可以创建目标“install”。 停止。
Copy new php configure file...
Modify php.ini......
Install ZendGuardLoader for PHP 7.4...
unavailable now.
Creating new php-fpm configure file...
Copy php-fpm init.d file...
cp: 无法获取"/root/lnmp1.8/src/php-7.4.19/sapi/fpm/init.d.php-fpm" 的文件状态(stat): 没有那个文件或目录
chmod: 无法访问"/etc/init.d/php-fpm7.4": 没有那个文件或目录
Add php-fpm7.4 service at system startup...
服务 php-fpm7.4 信息读取出错:没有那个文件或目录
服务 php-fpm7.4 信息读取出错:没有那个文件或目录
+-------------------------------------------+
|    Manager for LNMP, Written by Licess    |
+-------------------------------------------+
|              https://lnmp.org             |
+-------------------------------------------+
Starting LNMP...
Starting nginx...  done
Starting MySQL.. SUCCESS!
Starting php-fpm  done
Starting php-fpm  done
Failed to install php-7.4.19, you can download /root/install-mphp7.4.log from your server, and upload install-mphp7.4.log to LNMP Forum.

本帖子中包含更多资源

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

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


php源码包未完整下载,删除lnmp安装包 src目录下的php-7.4.19.tar.bz2 重新安装多php版本,或者使用full包进行安装
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-20 20:50 , Processed in 0.026289 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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