WordPress.org

Make WordPress Core

Ticket #4336: php-42.diff

File php-42.diff, 876 bytes (added by nbachiyski, 8 years ago)
  • wp-settings.php

     
    4848if ( empty($PHP_SELF) ) 
    4949        $_SERVER['PHP_SELF'] = $PHP_SELF = preg_replace("/(\?.*)?$/",'',$_SERVER["REQUEST_URI"]); 
    5050 
    51 if ( !(phpversion() >= '4.1') ) 
    52         die( 'Your server is running PHP version ' . phpversion() . ' but WordPress requires at least 4.1' ); 
     51if ( !(phpversion() >= '4.2') ) 
     52        die( 'Your server is running PHP version ' . phpversion() . ' but WordPress requires at least 4.2' ); 
    5353 
    5454if ( !extension_loaded('mysql') && !file_exists(ABSPATH . 'wp-content/db.php') ) 
    5555        die( 'Your PHP installation appears to be missing the MySQL which is required for WordPress.' ); 
     
    267267// Everything is loaded and initialized. 
    268268do_action('init'); 
    269269 
    270 ?> 
    271  No newline at end of file 
     270?>