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

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

我正在尝试安装或升级最适合的版本,从 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.

答案1

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

相关内容