Ticket #4336: php-42.diff
File php-42.diff, 876 bytes (added by , 18 years ago) |
---|
-
wp-settings.php
48 48 if ( empty($PHP_SELF) ) 49 49 $_SERVER['PHP_SELF'] = $PHP_SELF = preg_replace("/(\?.*)?$/",'',$_SERVER["REQUEST_URI"]); 50 50 51 if ( !(phpversion() >= '4. 1') )52 die( 'Your server is running PHP version ' . phpversion() . ' but WordPress requires at least 4. 1' );51 if ( !(phpversion() >= '4.2') ) 52 die( 'Your server is running PHP version ' . phpversion() . ' but WordPress requires at least 4.2' ); 53 53 54 54 if ( !extension_loaded('mysql') && !file_exists(ABSPATH . 'wp-content/db.php') ) 55 55 die( 'Your PHP installation appears to be missing the MySQL which is required for WordPress.' ); … … 267 267 // Everything is loaded and initialized. 268 268 do_action('init'); 269 269 270 ?> 271 No newline at end of file 270 ?>