PHP 4 and 5 installations to interfere on the command-line.
* Added global $wgStyleVersion to centralize bumping CSS and JS file versions
for cache-friendly style and script updating
* (bug 7562) Fix non-ASCII namespaces on Windows/XAMPP servers
+* Friendlier check for PHP 5 in command-line scripts; it's common for parallel
+ PHP 4 and 5 installations to interfere on the command-line.
== Languages updated ==
exit();
}
+if( version_compare( PHP_VERSION, '5.0.0' ) < 0 ) {
+ print "Sorry! This version of MediaWiki requires PHP 5; you are running " .
+ PHP_VERSION . ".\n\n" .
+ "If you are sure you already have PHP 5 installed, it may be " .
+ "installed\n" .
+ "in a different path from PHP 4. Check with your system administrator.\n";
+ die( -1 );
+}
+
define('MEDIAWIKI',true);
# Process command line arguments