Index: trunk/phase3/config/index.php |
— | — | @@ -461,8 +461,8 @@ |
462 | 462 | $n = intval( $m[1] * (1024*1024) ); |
463 | 463 | } |
464 | 464 | if( $n < 20*1024*1024 ) { |
465 | | - print "Attempting to raise limit to 50M... "; |
466 | | - if( false === ini_set( "memory_limit", "50M" ) ) { |
| 465 | + print "Attempting to raise limit to 20M... "; |
| 466 | + if( false === ini_set( "memory_limit", "20M" ) ) { |
467 | 467 | print "failed.<br /><b>" . htmlspecialchars( $memlimit ) . " seems too low, installation may fail!</b>"; |
468 | 468 | } else { |
469 | 469 | $conf->raiseMemory = true; |
— | — | @@ -1661,7 +1661,7 @@ |
1662 | 1662 | require_once( \"\$IP/includes/DefaultSettings.php\" ); |
1663 | 1663 | |
1664 | 1664 | # If PHP's memory limit is very low, some operations may fail. |
1665 | | -" . ($conf->raiseMemory ? '' : '# ' ) . "ini_set( 'memory_limit', '50M' );" . " |
| 1665 | +" . ($conf->raiseMemory ? '' : '# ' ) . "ini_set( 'memory_limit', '20M' );" . " |
1666 | 1666 | |
1667 | 1667 | if ( \$wgCommandLineMode ) { |
1668 | 1668 | if ( isset( \$_SERVER ) && array_key_exists( 'REQUEST_METHOD', \$_SERVER ) ) { |