Memory limit is too low
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mediawiki (Ubuntu) |
Opinion
|
Low
|
Unassigned |
Bug Description
Binary package hint: mediawiki
OS: Ubuntu 9.10 2.6.31-19-generic #56-Ubuntu SMP Thu Jan 28 02:39:34 UTC 2010 x86_64 GNU/Linux
Steps to reproduce:
# Install karmic
# apt-get install mediawiki mysql-server (shouldn't mysql-server be a dependency?)
# Uncomment "Alias /mediawiki /var/lib/mediawiki" in /etc/mediawiki/
# Set "log_errors = On" in /etc/php5/
# /etc/init.d/apache2 restart
# Open http://
# Try to search for a page in the mediawiki search box
# Pay attention that /var/log/
Cause: ini_set(
The default memory limit in PHP5 for Karmic is 16M. The Mediawiki installer lifts it a little if it detects that the current limit is <20M. The installer does note that it's doing this, which should be a hint to the administrator that it needed doing.
This limit probably shouldn't be increased any further, since it's not for the installer to decide if the local administrator has good reason for keeping a tight hold on memory.
(mysql-server is a recommendation, not a dependency, because Mediawiki can use a number of database engines.)