是否还有可能在 Debian Wheezy (7.11) 上安装 PHP7?
/etc/apt/sources.list
deb http://packages.dotdeb.org wheezy all
deb-src http://packages.dotdeb.org wheezy all
命令
# apt-get install php7.0
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package php7.0
E: Couldn't find any package by regex 'php7.0'
仅 PHP5 包可用。
答案1
最终我没有找到任何可行的解决方案(我懒得从源代码编译),我在这篇文章的帮助下升级到了 Debian Jessie
https://www.debian.org/releases/jessie/i386/release-notes/ch-upgrading.en.html