通过 Remi 源升级 VestaCP 的 PHP 环境到 8.3.x

PHP 8.3 正式版已经发布,应该可以用于生产环境了咯!

保险起见,请记得要备份!备份!!备份!!!
由于我的是日备就斗胆的直接升级了。

升级 Remi 源:

yum -y --enablerepo=remi update remi-release

禁用旧版本的仓库:

yum-config-manager --disable remi-php82*
yum repolist

启用 PHP 8.3 的仓库

yum-config-manager --enable remi-php83

更新:

yum update

更新后版本:

PHP 8.3.1 (cli) (built: Dec 20 2023 12:44:38) (NTS gcc x86_64)
Copyright (c) The PHP Group
Zend Engine v4.3.1, Copyright (c) Zend Technologies
    with Zend OPcache v8.3.1, Copyright (c), by Zend Technologies

刚发布没多久的咯……

ChiuYut

2024年01月01日

发布者

ChiuYut

咦? 我是谁? 这是什么地方? Ya ha! 我是ChiuYut! 这里是我的小破站!