* Require PHP 4.3.2 or higher strictly now.
Big things to note:
* MySQL 3.23.x is no longer supported.
+* PHP 4.1/4.2 is no longer supported.
== Changes since 1.5 ==
* (bug 2721) Regression: Use European number separators for vi: wikis
* Allow parser cache on redirect targets
* (bug 3562) for go search, try Caps-Variants-Broken-At-Non-Whitespace
+* (bug 2569) Use PATH_SEPARATOR instead of trying to guess based on
+ DIRECTORY_SEPARATOR (was wrong on NetWare)
+* Require PHP 4.3.2 or higher strictly now.
=== Caveats ===
# As a dirty hack, we'll try to set up the include path first.
#
$IP = dirname( dirname( __FILE__ ) );
-$sep = (DIRECTORY_SEPARATOR == "\\") ? ";" : ":";
+$sep = PATH_SEPARATOR;
ini_set( "include_path", ".$sep$IP$sep$IP/includes$sep$IP/languages" );
define( "MEDIAWIKI", true );
$slconf['RightsIcon'] = $conf->RightsIcon;
}
- $sep = (DIRECTORY_SEPARATOR == "\\") ? ";" : ":";
+ $sep = PATH_SEPARATOR;
$localsettings = "
# This file was automatically generated by the MediaWiki installer.
# If you make manual changes, please keep track in case you need to
if( !function_exists( 'version_compare' ) ) {
# version_compare was introduced in 4.1.0
- die( "Your PHP version is much too old; 4.0.x will _not_ work. 4.3.2 or higher is recommended. ABORTING.\n" );
+ die( "Your PHP version is much too old; 4.0.x will _not_ work. 4.3.2 or higher is required. ABORTING.\n" );
}
if( version_compare( phpversion(), '4.3.2' ) < 0 ) {
- echo "WARNING: PHP 4.3.2 or higher is recommended. Older versions from 4.1.x up may work but are not actively supported.\n\n";
+ die( "PHP 4.3.2 or higher is required. ABORTING.\n" );
}
if (!extension_loaded('mysql')) {
$wgCommandLineMode = true;
# Turn off output buffering if it's on
@ob_end_flush();
-$sep = strchr( $include_path = ini_get( "include_path" ), ";" ) ? ";" : ":";
+$sep = PATH_SEPARATOR;
if (!isset( $wgUseNormalUser ) ) {
$wgUseNormalUser = false;
$wgDBadminpassword = trim(`wikiadmin_pass`);
}
-$sep = strchr( $include_path = ini_get( "include_path" ), ";" ) ? ";" : ":";
+$sep = PATH_SEPARATOR;
putenv( "wikilang=$lang");
$newpath = "/home/wikipedia/common/php-new$sep";