- 积分
- 5
- 威望
-
- 金钱
-
- 注册时间
- 2019-1-11
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
优图班系统,本身系统已安装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
[0;31mFailed 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.[0m
|
|