Re: [PEAR-DEV] pecl install hits memory limit
by Pierre other posts by this author
Jun 19 2006 9:58AM messages near this date
[PEAR-DEV] pecl install hits memory limit
|
Re: [PEAR-DEV] pecl install hits memory limit
Hi Daniel,
On 6/19/06, Daniel Convissor <danielc@[...].com> wrote:
> Hey Folks:
>
> I just ran "pecl install json" on one of my machines and got the following
> errors:
>
> Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
> allocate 144 bytes) in /usr/local/lib/php/PEAR/Registry.php on line
> 1012
>
> Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
> allocate 40 bytes) in /usr/local/lib/php/PEAR.php on line 766
>
> Fun. :)
>
> First, the installer should override memory limits.
No, check the archive to get the various reasons, as well as the bug
system. My favourite is sanity. The user must do it himself, he must
know what he is doing while changing it.
> Second, the installer
> is ignoring my php.ini file, which sets the limit to 80 megs.
Are you sure it uses this php.ini? or add "-dmemory_limit=0" in the
pear sh file.
Cheers,
--Pierre
--
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thread:
Daniel Convissor
Pierre
Greg Beaver
Daniel Convissor
Daniel Convissor
Daniel Convissor
|