Re: Problem to install a package or to upgrade PEAR (Allowed memory size exhausted)
| From: | Luca Giandoso | Date: | Mon, 27 Aug 2007 20:52:24 +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-27859@lists.php.net to get a copy of this message | ||
phpinfo() tells memory limit about php module and not CLI version.
If you're using CLI version of php to install packages, you have to
check the memory limit about CLI version.
Hope this helps.
Luca Giandoso
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
>
> 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
>
> --
> PEAR General Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>