centos8终于更新完成了,为了填补php的漏洞,赶紧进行升级
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
# dnf module list php CentOS Stream 8 - AppStream Name Stream Profiles Summary php 7.2 [d][e] common [d], devel, minimal PHP scripting language php 7.3 common [d], devel, minimal PHP scripting language php 7.4 common [d], devel, minimal PHP scripting language php 8.0 common [d], devel, minimal PHP scripting language Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled # dnf module reset php # dnf module enable php:8.0 # dnf module list php CentOS Stream 8 - AppStream Name Stream Profiles Summary php 7.2 [d] common [d], devel, minimal PHP scripting language php 7.3 common [d], devel, minimal PHP scripting language php 7.4 common [d], devel, minimal PHP scripting language php 8.0 [e] common [d], devel, minimal PHP scripting language Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled # dnf install php |
如上,php就可以正常更新到8.0版本。 nginx的升级方法是相同的,只是在最后要同步升级一下http模块,否则会启动失败 yum update nginx-mod-http-image 好了,终于可以升级worpress的插件了