Re: pecl install hits memory limit

From: Date: Mon, 19 Jun 2006 17:58:42 +0000
Subject: Re: pecl install hits memory limit
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-43010@lists.php.net to get a copy of this message
Hi Daniel, On 6/19/06, Daniel Convissor <danielc@analysisandsolutions.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

« previous php.pear.dev (#43010) next »