- 积分
- 10
- 威望
-
- 金钱
-
- 注册时间
- 2023-4-7
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
服务器版本 centos7.6
lnmp 1.6 php版本 7.3.28
想升级php版本到7.4.33
没报错,但是/usr/local/目录里没有 php目录 只有一个oldphp/目录
/etc/init.d/目录里也没用 php-fpm文件
+-----------------------------------------------------------------------+
| Upgrade script for LNMP V1.6, Written by Licess |
+-----------------------------------------------------------------------+
| A tool to upgrade Nginx,MySQL/Mariadb,PHP for LNMP/LNMPA/LAMP |
+-----------------------------------------------------------------------+
| For more information please visit https://lnmp.org |
+-----------------------------------------------------------------------+
include/main.sh: line 643: /usr/local/php/bin/php-config: No such file or directory
include/main.sh: line 644: /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: 7.4.32
Press any key to start...or Press Ctrl+c to cancel
Notice: php-7.4.32.tar.bz2 not found!!!download now...
--2023-04-07 11:04:33-- http://php.vpser.net/php-7.4.32.tar.bz2
Resolving php.vpser.net (php.vpser.net)... 61.139.65.253, 240e:974:eb00:201::a2
Connecting to php.vpser.net (php.vpser.net)|61.139.65.253|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 13026979 (12M) [application/x-bzip2]
Saving to: ‘php-7.4.32.tar.bz2’
100%[======================================>] 13,026,979 3.84MB/s in 3.2s
2023-04-07 11:04:36 (3.84 MB/s) - ‘php-7.4.32.tar.bz2’ saved [13026979/13026979]
Download php-7.4.32.tar.bz2 successfully!
+-------------------------------------------+
| Manager for LNMP, Written by Licess |
+-------------------------------------------+
| https://lnmp.org |
+-------------------------------------------+
Stoping LNMP...
Stoping nginx... done
Shutting down MySQL.. SUCCESS!
/bin/lnmp: line 41: /etc/init.d/php-fpm: No such file or directory
mv: cannot stat ‘/usr/local/php’: 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
* centos-sclo-rh: mirrors.aliyun.com
* centos-sclo-sclo: mirrors.aliyun.com
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
* centos-sclo-rh: mirrors.aliyun.com
* centos-sclo-sclo: mirrors.aliyun.com
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
* centos-sclo-rh: mirrors.aliyun.com
* centos-sclo-sclo: mirrors.aliyun.com
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
* centos-sclo-rh: mirrors.aliyun.com
* centos-sclo-sclo: mirrors.aliyun.com
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
* centos-sclo-rh: mirrors.aliyun.com
* centos-sclo-sclo: mirrors.aliyun.com
Package xz-5.2.2-2.el7_9.x86_64 already installed and latest version
Nothing to do
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* centos-sclo-rh: mirrors.aliyun.com
* centos-sclo-sclo: mirrors.aliyun.com
Package expat-devel-2.1.0-15.el7_9.x86_64 already installed and latest version
Nothing to do
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* centos-sclo-rh: mirrors.aliyun.com
* centos-sclo-sclo: mirrors.aliyun.com
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
* centos-sclo-rh: mirrors.aliyun.com
* centos-sclo-sclo: mirrors.aliyun.com
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
* centos-sclo-rh: mirrors.aliyun.com
* centos-sclo-sclo: mirrors.aliyun.com
Package bzip2-devel-1.0.6-13.el7.x86_64 already installed and latest version
Nothing to do
[root@iZ94pg3iug6Z lnmp1.6]# lnmp start
+-------------------------------------------+
| Manager for LNMP, Written by Licess |
+-------------------------------------------+
| https://lnmp.org |
+-------------------------------------------+
Starting LNMP...
Starting nginx... done
Starting MySQL. SUCCESS!
/usr/bin/lnmp: line 27: /etc/init.d/php-fpm: No such file or directory
|
|