7月23日,WordPress官方博客撰文发出通告,他们将停止对 PHP 4 和 MySQL 4 的支持。
WordPress一直以来对服务器的要求都是比较低的,这也是为了让用户有更加灵活的选择,因此,WordPress几乎在任何服务器上都能非常完美地运行。不过,服务器不断在发展,有必要对WordPress的服务器要求进行适当的调整,现在WordPress官方决定不再支持 PHP 4、MySQL 4 了。
首先一点,预计在今年年底推出的 WordPress 3.1 将会是最后一个支持 PHP 4 的版本。其次,预计2011年上半年推出的 WordPress 3.2,对PHP版本的最低版本要求将提高到 PHP 5.2 版。为什么选择5.2呢?因为大多数WordPress用户都在使用这个版本,而且它比前几个版本有非常大的改善。Drupal、Joomla等内容管理系统的下个版本(两者都将在今年推出)所支持的最低PHP版本也是5.2。
目前只有大约11%的WordPress运行 PHP 5.2 以下的版本,这其中大多数的主机都支持 PHP 5.2 ,用户只需要在主机控制面板修改配置并激活 PHP 5.2 即可。而且主机商也会意识到跟上步伐来支持最新的WordPress(或Drupal 、Joomla),今年过后这个比例肯定还会下降。
另外,WordPress官方还表示 WordPress 3.1 之后也打算放弃支持 MySQL 4。目前不到6%的WordPress用户在使用 MySQL 4。WordPress 3.2 版本对MySQL的版本要求将变成5.0.15。
如果用户的主机环境没有达到要求,WordPress用户将无法升级到 WordPress 3.2 。为了方便用户确认主机商所提供的版本支持,WordPress官方创建了 Health Check 插件。下载、安装、激活后,目前 Health Check 只会告诉你的主机是否适用于 WordPress 3.2。以后的版本将会向用户提供更加实用的服务器以及WordPress安装的信息。
总之,今年年底推出的 WordPress 3.1 将会是最后一个支持 PHP 4 以及 MySQL 4 的版本,2011年上半年推出的 WordPress 3.2 要求 PHP 5.2 或更高;MySQL 5.0.15 或更高。大家现在也可以安装 Health Check 插件来检查下自己的主机是否已经做好准备!
PHP 4 and MySQL 4 End of Life Announcement
Posted July 23, 2010 by Mark Jaquith. Filed under Hosting.
Our approach with WordPress has always been to make it run on common server configurations. We want users to have flexibility when choosing a host for their precious content. Because of this strategy, WordPress runs pretty much anywhere. Web hosting platforms, however, change over time, and we occasionally are able to reevaluate some of the requirements for running WordPress. Now is one of those times. You probably guessed it from the title — we’re finally ready to announce the end of support for PHP 4 and MySQL 4!
First up, the announcement that developers really care about. WordPress 3.1, due in late 2010, will be the last version of WordPress to support PHP 4.
For WordPress 3.2, due in the first half of 2011, we will be raising the minimum required PHP version to 5.2. Why 5.2? Because that’s what the vast majority of WordPress users are using, and it offers substantial improvements over earlier PHP 5 releases. It is also the minimum PHP version that the Drupal and Joomla projects will be supporting in their next versions, both due out this year.
The numbers are now, finally, strongly in favor of this move. Only around 11 percent of WordPress installs are running on a PHP version below 5.2. Many of them are on hosts who support PHP 5.2 — users merely need to change a setting in their hosting control panel to activate it. We believe that percentage will only go down over the rest of the year as hosting providers realize that to support the newest versions of WordPress (or Drupal, or Joomla), they’re going to have to pull the trigger.
In less exciting news, we are also going to be dropping support for MySQL 4 after WordPress 3.1. Fewer than 6 percent of WordPress users are running MySQL 4. The new required MySQL version for WordPress 3.2 will be 5.0.15.
WordPress users will not be able to upgrade to WordPress 3.2 if their hosting environment does not meet these requirements (the built-in updater will prevent it). In order to determine which versions your host provides, we’ve created the Health Check plugin. You can download it manually, or use this handy plugin installation tool I whipped up. Right now, Health Check will only tell you if you’re ready for WordPress 3.2. In a future release it will provide all sorts of useful information about your server and your WordPress install, so hang on to it!
In summary: WordPress 3.1, due in late 2010, will be the last version of WordPress to support PHP 4 and MySQL 4. WordPress 3.2, due in the first half of 2011, will require PHP 5.2 or higher, and MySQL 5.0.15 or higher. Install the Health Check plugin to see if you’re ready!










No Comments