Index: branches/REL1_17/phase3/maintenance/update.php |
— | — | @@ -10,8 +10,8 @@ |
11 | 11 | * @ingroup Maintenance |
12 | 12 | */ |
13 | 13 | |
14 | | -if ( !function_exists( 'version_compare' ) || ( version_compare( phpversion(), '5.1.0' ) < 0 ) ) { |
15 | | - echo "You are using PHP version " . phpversion() . " but MediaWiki needs PHP 5.1.0 or higher. ABORTING.\n" . |
| 14 | +if ( !function_exists( 'version_compare' ) || ( version_compare( phpversion(), '5.2.3' ) < 0 ) ) { |
| 15 | + echo "You are using PHP version " . phpversion() . " but MediaWiki needs PHP 5.2.3 or higher. ABORTING.\n" . |
16 | 16 | "Check if you have a newer php executable with a different name, such as php5.\n"; |
17 | 17 | die( 1 ); |
18 | 18 | } |
Index: branches/REL1_17/phase3/maintenance/Maintenance.php |
— | — | @@ -12,10 +12,10 @@ |
13 | 13 | $maintClass = false; |
14 | 14 | |
15 | 15 | // Make sure we're on PHP5 or better |
16 | | -if ( version_compare( PHP_VERSION, '5.1.0' ) < 0 ) { |
17 | | - die ( "Sorry! This version of MediaWiki requires PHP 5.1.x; you are running " . |
| 16 | +if ( version_compare( PHP_VERSION, '5.2.3' ) < 0 ) { |
| 17 | + die ( "Sorry! This version of MediaWiki requires PHP 5.2.3; you are running " . |
18 | 18 | PHP_VERSION . ".\n\n" . |
19 | | - "If you are sure you already have PHP 5.1.x or higher installed, it may be\n" . |
| 19 | + "If you are sure you already have PHP 5.2.3 or higher installed, it may be\n" . |
20 | 20 | "installed in a different path from PHP " . PHP_VERSION . ". Check with your system\n" . |
21 | 21 | "administrator.\n" ); |
22 | 22 | } |