問題描述
我目前在 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 輔助翻譯的英文資料結果。如果您對結果不滿意,可以加入我們改善翻譯效果:薇曉朵技術論壇。