please check memory_limit at install time

Bug #270468 reported by Tomas Pospisek
4
Affects Status Importance Assigned to Milestone
phpldapadmin (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: phpldapadmin

The default memory_limit setting as shipped by ubuntu is too low:

  $ grep memory_limit /etc/php5/apache2/php.ini
  memory_limit = 16M ; Maximum amount of memory a script may consume (16MB)

On apt-get install phpldapadmin and then launching it via http://localhost/phpldapadmin, it will display an exclamationicon with the text "Your php memory limit is low - currently 16M". And that's it.

Raising the memory limit:

  $ grep memory_limit /etc/php5/apache2/php.ini
  memory_limit = 32M ; Maximum amount of memory a script may consume (32MB)

Makes phpldapadmin work correctly. Please do make sure at install time, that the memory_limit is set correctly or otherwise please complain loudly at installation time.
*t

Revision history for this message
Andreas Olsson (andol) wrote :

I can confirm this issue in the most recent Jaunty version, using phpldapadmin 1.1.0.5-6ubuntu2

Changed in phpldapadmin:
status: New → Confirmed
Revision history for this message
Andreas Olsson (andol) wrote :

Attaching a debdiff which fixes this issue by adding "php_value memory_limit 32M" to the phpldapadmin apache.conf.

Revision history for this message
Iain Lane (laney) wrote :

Uploading, thanks for the good work. I have pinged the Debian maintainer about this issue, but please forward bugs yourself in future.

Changed in phpldapadmin:
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package phpldapadmin - 1.1.0.5-6ubuntu3

---------------
phpldapadmin (1.1.0.5-6ubuntu3) jaunty; urgency=low

  * Adds php_value memory_limit 32M to the apache.conf (LP: #270468)

 -- Andreas Olsson <email address hidden> Sat, 07 Mar 2009 01:21:41 +0100

Changed in phpldapadmin:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.