/ 软件 / 702浏览

PHP升级至7.2

看到新闻,新版WordPress 5.2将在4月末上线,要求PHP版本最低5.6.20,而目前虚拟主机是5.2。据悉,年底前WP将要求PHP版本最低至7.2。

Minimum PHP Version Update

Important reminder: as of WordPress 5.2 beta 2, the minimum PHP version that WordPress will require is 5.6.20. If you’re running an older version of PHP, we highly recommend updating it now, before WordPress 5.2 is officially released.

...

5.6 now, but soon 7+

This is the first increase in PHP required version for WordPress since 2010, but may not be the only increase in 2019. The WordPress core team will monitor the adoption of the most recent versions of PHP with an eye towards making PHP 7+ the minimum version towards the end of the year.

看完后第一反应是备份了全站…… 😐

发信给服务商,1分钟就有客服小姐回复说需要切换服务器。切就切吧,反正备份了。

5分钟过后,观测到后台已升级到了7.2。

于是将站点备份包通过云主机管理面板上传到html目录下,把数据库备份通过管理面板的数据库管理上传到相应数据库,管理域名解析,增加子域名,重设Let's Encrypt,再强制刷新几次,就大功告成了。不超过半小时。

升级带来的最大好处是某些需要高版本PHP的主题也可以用了!

更新于

16

  1. 老杨

    7.3 路过……

    Chrome 73 · iPhone iOS 12.2
    1. S

      @老杨高级……

      Google Chrome 73 · Mac OS X 10.14
  2. 行星带

    7+的体验会好很多哦,现在很多包都只要求7+了

    Google Chrome 74 · Windows 10
    1. S

      @行星带所以果断升了……

      Google Chrome 76 · Mac OS X 10.14

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注