VPS侦探论坛

 找回密码
 注册
查看: 28|回复: 0

安装php7.0失败

[复制链接]
发表于 6 天前 | 显示全部楼层 |阅读模式


优图班系统,本身系统已安装php7.4,想要再安装一个PHP7.0


--------------------------
|diff -ruN php-7.0.33-orig/ext/intl/timezone/timezone_class.h php-7.0.33/ext/intl/timezone/timezone_class.h
|--- php-7.0.33-orig/ext/intl/timezone/timezone_class.h        2018-12-05 01:22:53.000000000 +0800
|+++ php-7.0.33/ext/intl/timezone/timezone_class.h        2022-05-09 22:17:19.075766863 +0800
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 601
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ruN php-7.0.33-orig/ext/intl/timezone/timezone_methods.cpp php-7.0.33/ext/intl/timezone/timezone_methods.cpp
|--- php-7.0.33-orig/ext/intl/timezone/timezone_methods.cpp        2018-12-05 01:22:53.000000000 +0800
|+++ php-7.0.33/ext/intl/timezone/timezone_methods.cpp        2022-05-09 22:17:19.075766863 +0800
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
2 out of 2 hunks ignored
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
configure: error: cannot run /bin/sh ./../../config.sub
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......
Install ZendGuardLoader for PHP 7...
unavailable now.
Creating new php-fpm configure file...
Copy php-fpm init.d file...
cp: cannot stat '/lnmp2.0/src/php-7.0.33/sapi/fpm/init.d.php-fpm': No such file or directory
chmod: cannot access '/etc/init.d/php-fpm7.0': No such file or directory
sed: can't read /etc/init.d/php-fpm7.0: No such file or directory
Add php-fpm7.0 service at system startup...
update-rc.d: error: unable to read /etc/init.d/php-fpm7.0
+-------------------------------------------+
|    Manager for LNMP, Written by Licess    |
+-------------------------------------------+
|              https://lnmp.org             |
+-------------------------------------------+
Starting LNMP...
Starting nginx...  done
Starting mysql (via systemctl): mysql.service.
Starting php-fpm [13-Mar-2026 17:12:54] WARNING: [pool www] listen.backlog(-1) was too low for the ondemand process manager. I updated it for you to 511.
done
Failed to install php-7.0.33, you can download /root/install-mphp7.0.log from your server, and upload install-mphp7.0.log to LNMP Forum.


美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-3-19 12:13 , Processed in 0.024826 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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