在 Debian 9 上从 7.0 安装或升级到 PHP 7.2

Was*_*eem 2 php installation upgrade

我正在尝试安装或升级任何最适合的 PHP 7.0 到 7.2。我在跑步时面向下方sudo apt-get update

如果有人能让我知道如何进行此操作,我将不胜感激。

Reading package lists... Done                      
E: The repository '//https://packages.sury.org/php stretch Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Run Code Online (Sandbox Code Playgroud)

Fre*_*ddy 5

我猜包含存储库的行有一个错字。是deb https://packages.sury.org/php/ stretch main吗?请参阅在 Debian 9 上安装 PHP 7.2指南(有效)。

  • 万分感谢...!这对我来说绝对没有问题。 (2认同)