这会将PHP8.0.25更新为PHP8.0.28吗?
dnf module reset php
dnf module enable php:remi-8.0
dnf update php\*发布于 2023-02-24 14:39:08
是的,在运行PHP 8.0.x的系统上使用dnf包管理器更新PHP,将使用以下命令将PHP更新为8.0.28:
以下是对每个命令所做的简单解释:
以下是上下文中的命令:
$ sudo dnf module reset php
$ sudo dnf module enable php:remi-8.0
$ sudo dnf update php\*运行这些命令之后,您的系统的PHP应该更新为Remi存储库中的最新版本(当前为8.0.28)。
https://unix.stackexchange.com/questions/736744
复制相似问题