Blacklist PHP 5.3.1 due to __call() regression.
authorTim Starling <tstarling@users.mediawiki.org>
Fri, 8 Jan 2010 02:08:28 +0000 (02:08 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Fri, 8 Jan 2010 02:08:28 +0000 (02:08 +0000)
config/Installer.php

index d295f88..c718aff 100644 (file)
@@ -419,6 +419,12 @@ if( wfIniGetBool( "zend.ze1_compatibility_mode" ) ) {
        <?php
 }
 
+if( phpversion() === '5.3.1' ) {
+       $fatal = true;
+       ?><li class="error"><strong>Fatal: PHP 5.3.1 is not compatible with MediaWiki!</strong>
+       PHP 5.3.1 is not compatible with MediaWiki due to a <a href="http://news.php.net/php.internals/46389">bug in PHP</a>. Please use PHP 5.3.0, or PHP 5.3.2 or later.</li>
+       <?php
+}
 
 if( $fatal ) {
        dieout( "Cannot install MediaWiki." );