问题描述

我目前在 PHP 5.1.6 上运行 WordPress 3.1.2 。 WordPress 3.2 的最低要求将为 PHP 5.2.4 或更高版本。如果我继续运行 WordPress 3.1.2,并且有一个安全问题,他们将为 3.1 提供安全更新,否则我将被迫升级我的 PHP 版本,以便我可以升级到 WordPress 3.2?

最佳解决方案

WordPress 后端安全更新通常 1-3 版本,但他们不承诺什么。

WordPress 的 LTS 的理念是 LTS =「Long Term Suckage

长期吸收理论是:

While I like the theory of LTS, what happens in practice is it covers up the incompetence of IT or developers because they put off small slightly painful upgrades until they get so out of date of trunk (3 years? 5 years?) and you have to go through a giant, painful, screws everybody over upgrade. —Matt Mullenweg

就像你的系统管理员现在不想更新 PHP,现在是 6 岁,还有两个主要的分支。

我会把我的系统管理员指向这个 thread from the RedHat mailing list from 2009 。有第三方包可用,所以你不必从源代码编译

If the version of php you need is not available in rhn you could use some 3rd party repos like rpmforge, ATrpms or the Remi Collet Repository that is specially made for mysql 5.1 and php5.2.9 under EL5.

我会更加关心 PHP 5.1 分支安全问题,而不是 WordPress 可能出现的问题。

编辑:

也发现从 2011 年 1 月 RHEL 5 now shipping with PHP 5.3. 这个官方 RedHat 公告

次佳解决方案

不,旧版本不更新。

另外:PHP 5.1.6 是五岁。即使 WordPress 将提供 3.1.2 的补丁 – 您错过了超过 100 个 PHP 安全修复程序,所以 WordPress 不是您的主要问题。

参考文献

注:本文内容整合自 Google/Baidu/Bing 辅助翻译的英文资料结果。如果您对结果不满意,可以加入我们改善翻译效果:薇晓朵技术论坛。