[Mediawiki-l] Upgrading PHP5.1 to PHP5.2 breaks MediaWiki's older than v.1.9.1

Brion Vibber brion at pobox.com
Thu Feb 22 07:01:53 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Roger Chrisman wrote:
> The recent upgrade of PHP5.1 to PHP5.2 on my server caused trouble for 
> my MediaWiki 1.8.2 (and might effect any MediaWiki version older than 
> 1.9.1).
> 
> I got my MediaWiki working again like this:
> 
> * I upgraded to MediaWiki version 1.9.2 (most recent version when I did 
> this; 1.9.3 has since been released)
> 
> * I also had to uncomment the following line in MediaWiki's 
> LocalSettings.php to keep it running okay in this upgraded environment:
> 
>   ini_set( 'memory_limit', '20M' );

The behavior of memory_limit has changed a bit in PHP 5.2, but if it
still runs ok with a 20M limit then the problem is most likely that your
provider's memory_limit configuration has changed since you installed
MediaWiki.

The installer would have set the 20M limit if it detected a smaller
limit at the time; if it didn't, then either there was no memory_limit
or the setting was at or above 20M.

- -- brion vibber (brion @ pobox.com / brion @ wikimedia.org)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF3T/hwRnhpk1wk44RAp4MAJ4xOJoyc9saA495N1F5H5XKQlXKowCgw2RM
hmX9LgTqwrJClE2gZojnqrA=
=5fiC
-----END PGP SIGNATURE-----



More information about the MediaWiki-l mailing list