Require PHP 4.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@6662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
238cbe830a
commit
f3d0aaee55
|
@ -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') )
|
||||
|
|
Loading…
Reference in New Issue