在 Armel 上的 Debian Wheezy 上安装 php 5.6

在 Armel 上的 Debian Wheezy 上安装 php 5.6

我正在使用 ARM 服务器,它上面有 Debian Wheezy。我知道,这是一个糟糕的选择,我没有安装它。

我(松散地)遵循本指南并将其添加到sources.list中:

deb http://packages.dotdeb.org wheezy all
deb http://packages.dotdeb.org wheezy-php56 all

但现在当我更新存储库时,出现错误

Fetched 6235 B in 17s (363 B/s)                                                                                                                                              
W: Failed to fetch http://packages.dotdeb.org/dists/wheezy/Release  Unable to find expected entry 'all/binary-armel/Packages' in Release file (Wrong sources.list entry or malformed file)

W: Failed to fetch http://packages.dotdeb.org/dists/wheezy-php56/Release  Unable to find expected entry 'all/binary-armel/Packages' in Release file (Wrong sources.list entry or malformed file)

E: Some index files failed to download. They have been ignored, or old ones used instead.

显然我做错了什么,但是什么?我真正想要的只是在服务器上安装 PHP 5.5 或 5.6。

答案1

我无法在评论中添加这两个链接,但我相信您错误地添加了存储库:

对于 PHP56,添加:

http://packages.dotdeb.org/dists/wheezy-php56/

对于所有 Wheezy,添加:

http://packages.dotdeb.org/dists/wheezy/

相关内容