- 积分
- 15
- 威望
-
- 金钱
-
- 注册时间
- 2017-11-30
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
升级之前, php 8.0.12是正常使用的. 升级日志如下:
cat upgrade_lnmp_php20211119230100.log
include/main.sh: line 720: /usr/local/php/bin/php-config: No such file or directory
include/main.sh: line 721: /usr/local/php/bin/php-config: No such file or directory
Current PHP Version:
You can get version number from http://www.php.net/
Please enter a PHP Version you want:
Press any key to start...or Press Ctrl+c to cancel
php-8.0.13.tar.bz2 [found]
+-------------------------------------------+
| Manager for LNMP, Written by Licess |
+-------------------------------------------+
| https://lnmp.org |
+-------------------------------------------+
Stoping LNMP...
Stoping nginx... done
Shutting down MySQL.... SUCCESS!
/bin/lnmp: line 44: /etc/init.d/php-fpm: No such file or directory
mv: cannot stat ‘/etc/init.d/php-fpm’: No such file or directory
Installing Dependent for PHP...
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Package c-ares-devel-1.10.0-3.el7.x86_64 already installed and latest version
Nothing to do
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Package libicu-devel-50.2-4.el7_7.x86_64 already installed and latest version
Nothing to do
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Package libxslt-1.1.28-6.el7.x86_64 already installed and latest version
Nothing to do
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Package libxslt-devel-1.1.28-6.el7.x86_64 already installed and latest version
Nothing to do
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Package xz-5.2.2-1.el7.x86_64 already installed and latest version
Nothing to do
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Package expat-devel-2.1.0-12.el7.x86_64 already installed and latest version
Nothing to do
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Package libzip-devel-0.10.1-8.el7.x86_64 already installed and latest version
Nothing to do
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Package bzip2-1.0.6-13.el7.x86_64 already installed and latest version
Nothing to do
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Package bzip2-devel-1.0.6-13.el7.x86_64 already installed and latest version
Nothing to do
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Package sqlite-devel-3.7.17-8.el7_7.1.x86_64 already installed and latest version
Nothing to do
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Package oniguruma-devel-6.8.2-1.el7.x86_64 already installed and latest version
Nothing to do
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Package epel-release-7-14.noarch already installed and latest version
Nothing to do
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Package oniguruma-6.8.2-1.el7.x86_64 already installed and latest version
Package oniguruma-devel-6.8.2-1.el7.x86_64 already installed and latest version
Nothing to do
[+] Installing 8.0.13
Uncompress php-8.0.13.tar.bz2...
cd php-8.0.13...
include/upgrade_php.sh: line 874: ./configure: No such file or directory
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......
include/php.sh: line 86: pear: command not found
include/php.sh: line 87: pecl: command not found
Downloading Composer...
--2021-11-19 23:01:21-- https://soft.vpser.net/web/php/composer/composer.phar
Resolving soft.vpser.net (soft.vpser.net)... 81.70.180.148
Connecting to soft.vpser.net (soft.vpser.net)|81.70.180.148|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://175.6.32.4:88/soft/web/php/composer/composer.phar [following]
--2021-11-19 23:01:21-- http://175.6.32.4:88/soft/web/php/composer/composer.phar
Connecting to 175.6.32.4:88... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2287395 (2.2M) [application/octet-stream]
Saving to: ‘/usr/local/bin/composer’
0K .......... .......... .......... .......... .......... 2% 953K 2s
50K .......... .......... .......... .......... .......... 4% 1.86M 2s
100K .......... .......... .......... .......... .......... 6% 154M 1s
150K .......... .......... .......... .......... .......... 8% 199M 1s
200K .......... .......... .......... .......... .......... 11% 1.88M 1s
250K .......... .......... .......... .......... .......... 13% 221M 1s
300K .......... .......... .......... .......... .......... 15% 81.0M 1s
350K .......... .......... .......... .......... .......... 17% 214M 0s
400K .......... .......... .......... .......... .......... 20% 1.93M 1s
450K .......... .......... .......... .......... .......... 22% 89.0M 0s
500K .......... .......... .......... .......... .......... 24% 81.9M 0s
550K .......... .......... .......... .......... .......... 26% 191M 0s
600K .......... .......... .......... .......... .......... 29% 198M 0s
650K .......... .......... .......... .......... .......... 31% 197M 0s
700K .......... .......... .......... .......... .......... 33% 163M 0s
750K .......... .......... .......... .......... .......... 35% 2.03M 0s
800K .......... .......... .......... .......... .......... 38% 195M 0s
850K .......... .......... .......... .......... .......... 40% 235M 0s
900K .......... .......... .......... .......... .......... 42% 185M 0s
950K .......... .......... .......... .......... .......... 44% 207M 0s
1000K .......... .......... .......... .......... .......... 47% 226M 0s
1050K .......... .......... .......... .......... .......... 49% 245M 0s
1100K .......... .......... .......... .......... .......... 51% 275M 0s
1150K .......... .......... .......... .......... .......... 53% 246M 0s
1200K .......... .......... .......... .......... .......... 55% 256M 0s
1250K .......... .......... .......... .......... .......... 58% 258M 0s
1300K .......... .......... .......... .......... .......... 60% 270M 0s
1350K .......... .......... .......... .......... .......... 62% 233M 0s
1400K .......... .......... .......... .......... .......... 64% 247M 0s
1450K .......... .......... .......... .......... .......... 67% 2.05M 0s
1500K .......... .......... .......... .......... .......... 69% 184M 0s
1550K .......... .......... .......... .......... .......... 71% 171M 0s
1600K .......... .......... .......... .......... .......... 73% 234M 0s
1650K .......... .......... .......... .......... .......... 76% 257M 0s
1700K .......... .......... .......... .......... .......... 78% 218M 0s
1750K .......... .......... .......... .......... .......... 80% 201M 0s
1800K .......... .......... .......... .......... .......... 82% 228M 0s
1850K .......... .......... .......... .......... .......... 85% 221M 0s
1900K .......... .......... .......... .......... .......... 87% 238M 0s
1950K .......... .......... .......... .......... .......... 89% 180M 0s
2000K .......... .......... .......... .......... .......... 91% 220M 0s
2050K .......... .......... .......... .......... .......... 94% 222M 0s
2100K .......... .......... .......... .......... .......... 96% 241M 0s
2150K .......... .......... .......... .......... .......... 98% 190M 0s
2200K .......... .......... .......... ... 100% 227M=0.2s
2021-11-19 23:01:21 (11.6 MB/s) - ‘/usr/local/bin/composer’ saved [2287395/2287395]
Composer install successfully.
Install ZendGuardLoader for PHP 8...
unavailable now.
Creating new php-fpm configure file...
Copy php-fpm init.d file...
cp: cannot stat ‘/root/mysoft/lnmp1.8/src/php-8.0.13/sapi/fpm/init.d.php-fpm’: No such file or directory
chmod: cannot access ‘/etc/init.d/php-fpm’: No such file or directory
+-------------------------------------------+
| Manager for LNMP, Written by Licess |
+-------------------------------------------+
| https://lnmp.org |
+-------------------------------------------+
Starting LNMP...
Starting nginx... done
Starting MySQL. SUCCESS!
/bin/lnmp: line 30: /etc/init.d/php-fpm: No such file or directory
======== upgrade php failed ======
upgrade php log: /root/upgrade_lnmp_php.log
You upload upgrade_lnmp_php.log to LNMP Forum for help.
|
|