Index: trunk/phase3/maintenance/update.php |
— | — | @@ -25,8 +25,8 @@ |
26 | 26 | * @ingroup Maintenance |
27 | 27 | */ |
28 | 28 | |
29 | | -if ( !function_exists( 'version_compare' ) || ( version_compare( phpversion(), '5.1.0' ) < 0 ) ) { |
30 | | - echo "You are using PHP version " . phpversion() . " but MediaWiki needs PHP 5.1.0 or higher. ABORTING.\n" . |
| 29 | +if ( !function_exists( 'version_compare' ) || ( version_compare( phpversion(), '5.2.3' ) < 0 ) ) { |
| 30 | + echo "You are using PHP version " . phpversion() . " but MediaWiki needs PHP 5.2.3 or higher. ABORTING.\n" . |
31 | 31 | "Check if you have a newer php executable with a different name, such as php5.\n"; |
32 | 32 | die( 1 ); |
33 | 33 | } |
Index: trunk/phase3/tests/phpunit/includes/HttpTest.php |
— | — | @@ -493,9 +493,6 @@ |
494 | 494 | $jar = $r->getCookieJar(); |
495 | 495 | $this->assertThat( $jar, $this->isInstanceOf( 'CookieJar' ) ); |
496 | 496 | |
497 | | - if ( $r instanceof PhpHttpRequest && version_compare( '5.1.7', phpversion(), '>' ) ) { |
498 | | - $this->markTestSkipped( 'Redirection fails or crashes PHP on 5.1.6 and prior' ); |
499 | | - } |
500 | 497 | $serialized = $jar->serializeToHttpRequest( "/search?q=test", "www.php.net" ); |
501 | 498 | $this->assertRegExp( '/\bCOUNTRY=[^=;]+/', $serialized ); |
502 | 499 | $this->assertRegExp( '/\bLAST_LANG=[^=;]+/', $serialized ); |