Update the message too. Thanks, Lloyd. fixes #4510
git-svn-id: http://svn.automattic.com/wordpress/branches/2.2@5746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2fd0d47c6d
commit
856d4bb2a8
|
@ -49,7 +49,7 @@ if ( empty($PHP_SELF) )
|
|||
$_SERVER['PHP_SELF'] = $PHP_SELF = preg_replace("/(\?.*)?$/",'',$_SERVER["REQUEST_URI"]);
|
||||
|
||||
if ( !(phpversion() >= '4.2') )
|
||||
die( 'Your server is running PHP version ' . phpversion() . ' but WordPress requires at least 4.1' );
|
||||
die( 'Your server is running PHP version ' . phpversion() . ' but WordPress requires at least 4.2.' );
|
||||
|
||||
if ( !extension_loaded('mysql') && !file_exists(ABSPATH . 'wp-content/db.php') )
|
||||
die( 'Your PHP installation appears to be missing the MySQL which is required for WordPress.' );
|
||||
|
|
Loading…
Reference in New Issue