php更新- centos 7失败

lx0bsm1f  于 2022-11-08  发布在  PHP
关注(0)|答案(1)|浏览(295)

我有Centos 7服务器运行apache 2.4.48和php 5.6.40,我试图在我的服务器上将php更新到7X,但遇到了一些问题。

entered into XXXXXXXXXXXXX                                                                                    
[root@XXXXXXXXXX /]# sudo yum install epel-release yum-utils                                                    
-bash: sudo: command not found                                                                               
[root@XXXXXXX /]# yum install epel-release yum-utils                                                         
Loaded plugins: fastestmirror                                                                                
Loading mirror speeds from cached hostfile                                                                   
 * base: ftp.icm.edu.pl                                                                                      
 * epel: ftp.icm.edu.pl                                                                                      
 * extras: ftp.icm.edu.pl                                                                                    
 * remi-php72: mirror.23media.com                                                                            
 * remi-php73: mirror.23media.com                                                                            
 * remi-safe: mirror.23media.com                                                                             
 * updates: ftp.icm.edu.pl                                                                                   
Package epel-release-7-13.noarch already installed and latest version                                        
Package yum-utils-1.1.31-54.el7_8.noarch already installed and latest version                                
Nothing to do                                                                                                
[root@vz12160 /]# yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm                         
Loaded plugins: fastestmirror                                                                                
remi-release-7.rpm                                                                    |  23 kB  00:00:00     
Examining /var/tmp/yum-root-Kw5P4D/remi-release-7.rpm: remi-release-7.9-1.el7.remi.noarch                    
/var/tmp/yum-root-XXXXX/remi-release-7.rpm: does not update installed package.                              
Error: Nothing to do
lo8azlld

lo8azlld1#

错误:无操作
这里没有错误,remi-release已经安装,如repo列表所述:

  • 网址:mirror.23media.com
  • 网址:mirror.23media.com
  • 请访问:mirror.23media.com

要正确配置,请遵循Wizard instructions

相关问题