[Tickets #4087] NEW: point "memory_limit disabled" in test.php

bugs@bugs.horde.org bugs at bugs.horde.org
Wed Jun 28 05:51:23 PDT 2006


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=4087
-----------------------------------------------------------------------
 Ticket             | 4087
 Created By         | final at skilled.ch
 Summary            | point "memory_limit disabled" in test.php
 Queue              | Horde Base
 Version            | 3.1.1
 State              | Unconfirmed
 Priority           | 1. Low
 Type               | Bug
 Owners             | 
-----------------------------------------------------------------------


final at skilled.ch (2006-06-28 05:51) wrote:

After reading PHP-Help, I found this:
memory_limit integer
This sets the maximum amount of memory in bytes that a script is allowed
to allocate. [...]. Note that you have to set it to -1 if you don't want
any limit for your memory. 

So i've added the line
php_admin_value memory_limit -1
to my virtual host for horde. The limit is actually set to -1, however,
horde test.php would still print:
memory_limit disabled: No
If PHP's internal memory limit is turned on and if not set high enough
Horde will not be able to handle large data items (e.g. large mail
attachments in IMP). If possible, you should disable the PHP memory limit
by recompiling PHP without the "--enable-memory-limit" flag. If this is
not possible, then you should set the value of memory_limit in php.ini to
a sufficiently high value (Current value of memory_limit: -1). 

instead of just "Yes"




More information about the bugs mailing list