任何和所有 PHP 版本的持续错误 - 没有安装候选者。我已经运行了 apt-get update and upgrade / dist-upgrade 并在新的代码空间中添加了 sury repo。
vsonline:~/workspace$ sudo apt-get install php
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package php is a virtual package provided by:
php7.4 7.4.6-1+0~20200514.17+debian9~1.gbp0f509e [Not candidate version]
php7.3 7.3.18-1+0~20200515.59+debian9~1.gbp12fa4f [Not candidate version]
php7.2 7.2.31-1+0~20200514.41+debian9~1.gbpe2a56b [Not candidate version]
php7.1 7.1.33-16+0~20200514.38+debian9~1.gbp1e5820 [Not candidate version]
php7.0 7.0.33-29+0~20200514.36+debian9~1.gbp126f6f [Not candidate version]
php5.6 5.6.40-29+0~20200514.35+debian9~1.gbpcc49a4 [Not candidate version]
php7.3 7.3.14-1~deb10u1 [Not candidate version]
uwsgi-plugin-php 2.0.17.1+8+0.0.3+b3 [Not candidate version]
php7.3 7.3.11-1~deb10u1 [Not candidate version]
php7.0 7.0.33-0+deb9u7 [Not candidate version]
php7.0 7.0.33-0+deb9u6 [Not candidate version]
E: Package 'php' has no installation candidate