尝试在centos中安装特定版本的phphttps://www.linuxtechi.com/install-php-7-centos-7-rhel-7-server/
yum install epel-release yum-utils -y
yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm
yum-config-manager --enable remi-php70
yum install php php-common php-opcache php-mcrypt php-cli php-gd php-curl php-mysql -y
现在,当我尝试安装其他软件包时,例如。 yum install svn
,出现此错误
failure: repodata/repomd.xml from remi-release: [Errno 256] No more mirrors to try.
http://rpms.remirepo.net/enterprise/remi-release-7.rpm/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
这是为centos安装特定软件包的一种非常方便的方法谢谢
采用以下链接。可能对您有帮助https://www.centos.org/forums/viewtopic.php?t=871