简体   繁体   English

php 更新 - centos 7 失败

[英]php update - centos 7 failed

I have Centos 7 server running apache 2.4.48 and php 5.6.40 I'm trying to update php to 7X on my server but am having some issues.我有 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

Error: Nothing to do错误:无事可做

There is no error here, remi-release is already installed, as stated by the repo list:这里没有报错,remi-release已经安装好了,如repo list所述:

  • remi-php72: mirror.23media.com remi-php72: mirror.23media.com
  • remi-php73: mirror.23media.com remi-php73: mirror.23media.com
  • remi-safe: mirror.23media.com远程安全:mirror.23media.com

For proper configuration, follow the Wizard instructions为了正确配置,请按照向导说明进行操作

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM