![无法获取 http://ppa.launchpad.net/ondrej/php/ubuntu/dists/focal/InRelease 500 内部服务器错误](https://linux22.com/image/1191318/%E6%97%A0%E6%B3%95%E8%8E%B7%E5%8F%96%20http%3A%2F%2Fppa.launchpad.net%2Fondrej%2Fphp%2Fubuntu%2Fdists%2Ffocal%2FInRelease%20500%20%E5%86%85%E9%83%A8%E6%9C%8D%E5%8A%A1%E5%99%A8%E9%94%99%E8%AF%AF%20.png)
我正在尝试在我的系统中安装 PHP8 和 PHP7,使用这个关联
但是当我运行以下命令时
add-apt-repository ppa:ondrej/php
我收到类似这样的错误,
Err:7 http://ppa.launchpad.net/ondrej/php/ubuntu focal InRelease
500 Internal Server Error [IP: 185.125.190.52 80]
Err:8 http://ppa.launchpad.net/ondrej/php-qa/ubuntu focal InRelease
500 Internal Server Error [IP: 185.125.190.52 80]
Hit:9 https://mirrors.cloud.tencent.com/ubuntu focal InRelease
Hit:10 https://mirrors.cloud.tencent.com/ubuntu focal-updates InRelease
Hit:11 https://mirrors.cloud.tencent.com/ubuntu focal-backports InRelease
Hit:12 https://mirrors.cloud.tencent.com/ubuntu focal-security InRelease
Reading package lists... Done
W: Failed to fetch http://ppa.launchpad.net/ondrej/php/ubuntu/dists/focal/InRelease 500 Internal Server Error [IP: 185.125.190.52 80]
W: Failed to fetch http://ppa.launchpad.net/ondrej/php-qa/ubuntu/dists/focal/InRelease 500 Internal Server Error [IP: 185.125.190.52 80]
W: Some index files failed to download. They have been ignored, or old ones used instead.