Re: Problem to install a package or to upgrade PEAR (Allowed memory size exhausted)

From: Date: Mon, 27 Aug 2007 20:52:06 +0000
Subject: Re: Problem to install a package or to upgrade PEAR (Allowed memory size exhausted)
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-27858@lists.php.net to get a copy of this message
On 8/27/07, Cédric Girard <cedric.pearNG@daneel.net> wrote: > Hi, > > I have just installed PEAR on WampServer 1.7.2. While phpinfo() tells > memory_limit is set to 128M (it is a dev workstation, not a server), > I've got this error when I try to install PhpUnit > > Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to > allocate 9 8304 bytes) in > C:\wamp\php\PEAR\PEAR\PackageFile\v2\Validator.php on line 1956 > That's 8M, not 128M. > And this one when I try to upgrade PEAR > > Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to > allocate 98304 bytes) in > C:\wamp\php\PEAR\PEAR\PackageFile\Generator\v2.php on line 728 > > And this one when I execute the go-pear script freshly downloaded from > go-pear.org > > Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to > allocate 98304 bytes) in > C:\wamp\php\PEAR\PEAR\PackageFile\v2\Validator.php on line 1956 > > But "peardev upgrade pear" works fine. > > It remind me this bug, closed for two years. > http://pear.php.net/bugs/bug.php?id=4835 > Likely your problem is that you changed the web php.ini but not the cli one. Do php -i and see where that php.ini resides and fix that one. -- Justin Patrin

« previous php.pear.general (#27858) next »