Require PHP 4.3

git-svn-id: http://svn.automattic.com/wordpress/trunk@6662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-01-25 20:06:22 +00:00
parent 238cbe830a
commit f3d0aaee55
1 changed files with 2 additions and 2 deletions

View File

@ -87,8 +87,8 @@ $PHP_SELF = $_SERVER['PHP_SELF'];
if ( empty($PHP_SELF) )
$_SERVER['PHP_SELF'] = $PHP_SELF = preg_replace("/(\?.*)?$/",'',$_SERVER["REQUEST_URI"]);
if ( version_compare( '4.2', phpversion(), '>' ) ) {
die( 'Your server is running PHP version ' . phpversion() . ' but WordPress requires at least 4.2.' );
if ( version_compare( '4.3', phpversion(), '>' ) ) {
die( 'Your server is running PHP version ' . phpversion() . ' but WordPress requires at least 4.3.' );
}
if ( !extension_loaded('mysql') && !file_exists(ABSPATH . 'wp-content/db.php') )