Pycurl错误:“请求的URL返回错误:403 Forbidden" [英] Pycurl error: "The requested URL returned error: 403 Forbidden"

查看:366
本文介绍了Pycurl错误:“请求的URL返回错误:403 Forbidden"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试在Redhat 6.8上安装PHP 7.2时,出现此错误:

When I try to install PHP 7.2 on redhat 6.8, this error appears:

Not loading "rhnplugin" plugin, as it is disabled
Loading "product-id" plugin
Loading "refresh-packagekit" plugin
Loading "search-disabled-repos" plugin
Loading "subscription-manager" plugin
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Config time: 0.131
Yum Version: 3.2.29
Could not retrieve mirrorlist http://cdn.remirepo.net/enterprise/6/php72/mirror error was
14: PYCURL ERROR 22 - "The requested URL returned error: 403 Forbidden"
Error: Cannot retrieve repository metadata (repomd.xml) for repository: remi-php72. Please verify its path and try again

推荐答案

"remi"存储库提供PHP 7.2,但仅适用于最新的6.10.

"remi" repository provides PHP 7.2 but only for latest 6.10.

此系统未注册到Red Hat Subscription Management.您可以使用订阅管理器进行注册.

This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

您需要先解决此问题,然后才能更新到6.10

You need to fix this first to be able to update to 6.10

无法检索镜像列表 http://cdn.remirepo.net/enterprise/6 /php72/mirror 错误为

此URl工作时,您需要解决网络问题.

As this URl works, you need to fix your network issue.

这篇关于Pycurl错误:“请求的URL返回错误:403 Forbidden"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆