【发布时间】:2017-08-29 20:15:03
【问题描述】:
所以我需要在 ubuntu-16.04-server-amd64 上安装 PHP 5.4。其他一些线程建议
- sudo add-apt-repository ppa:ondrej/php5-oldstable
- sudo apt-get 更新
- sudo apt-get install -y php5
但这些不起作用,因为更新时出现错误。
Reading package lists... Done
W: The repository 'http://ppa.launchpad.net/ondrej/php5-oldstable/ubuntu xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://ppa.launchpad.net/ondrej/php5-oldstable/ubuntu/dists/xenial/main/binary-amd64/Packages 404 Not Found
E: Failed to fetch http://ppa.launchpad.net/ondrej/php5-oldstable/ubuntu/dists/xenial/main/binary-i386/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
为此推荐的行动方案是什么?
【问题讨论】:
-
如有疑问,请从源代码编译。
-
这里是您可以尝试的另一个链接dev-metal.com/…