[horde] Fatal error: Allowed memory size of #### bytes exhausted
Niels Dettenbach
nd at syndicat.com
Fri Aug 5 15:23:22 UTC 2011
Am Freitag, 5. August 2011, 17:02:55 schrieb Paul van der Vlis:
> Changing the memory_limit in /etc/php5/cli/php.ini did help. I use this:
> memory_limit = 132M
Yes,
(btw is 128 MB a dual exponent - not 132)
Another way is to give memory_limit with the pear command line:
-d memory_limit=16M
but unfortunately this as editing php.ini did NOT help on several Linux / Unix
distros where "pear" is just a wrapper script and includes the mem limit
config on command line within that wrapper script (i.e. Gentoo Linux).
To avoid this you have to locate the pear wrapper script - i.e. with:
whereis pear
and edit it with a texteditor - i.e:
vi /usr/bin/pear
this snippet
-d memory_limit=16M
to
-d memory_limit=128M
hth someone here...
good luck and
cheers,
Niels.
--
---
Niels Dettenbach
Syndicat IT&Internet
http://www.syndicat.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.horde.org/archives/horde/attachments/20110805/139d5bc0/attachment.bin>
More information about the horde
mailing list