我将尝试在centos https://www.linuxtechi.com/install-php-7-centos-7-rhel-7-server/中安装特定版本的php。
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 安装特定的软件包和版本非常方便?谢谢
发布于 2020-01-13 18:31:45
看起来像remi-release的基url不可用或已被删除,您应该从你的yum中删除它并清理本地yum缓存。
rm -rf /etc/yum.repos.d/remi-php70.repo.rpmsave
yum clean allhttps://stackoverflow.com/questions/59047445
复制相似问题