Problem to install a package or to upgrade PEAR (Allowed memory size exhausted)
| From: | Cédric Girard | Date: | Mon, 27 Aug 2007 14:05:00 +0000 |
| Subject: | Problem to install a package or to upgrade PEAR (Allowed memory size exhausted) | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-27857@lists.php.net to get a copy of this message | ||
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
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
Thanks in advance
Cédric