Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 71087 - emerge of PEAR-PhpDocumentor fail, memory exhausted
Summary: emerge of PEAR-PhpDocumentor fail, memory exhausted
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High enhancement
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-13 13:49 UTC by Di Pietro Nicolas
Modified: 2005-02-16 23:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Di Pietro Nicolas 2004-11-13 13:49:59 UTC
When I try to emerge PEAR-PhpDocumentor, I get errors about the 8M of memory exhausted. I've tried with pear install PhpDocumentor and got the same error.

I don't know if it's a bug in the PEAR package but I think you should warn the user to increase the memory allowed to php scripts (just the time to install this) and say that the file to modify is /etc/php/apache2-php5/php.ini (it was this in my case and I modified the /etc/php/cli-php5/php.ini one, so It didn't work)

Reproducible: Always
Steps to Reproduce:
1.emerge PEAR-PhpDocumentor
2.
3.

Actual Results:  
Fatal error: Allowed memory size of 8388608 bytes exhaustedI

Expected Results:  
be installed ;-)

I use the 'original' php.ini, ~X86 flag and the version was PEAR-PhpDocumentor-1.2.3

I hope not made mistakes, it's my first bug report, so if I've done bad things,
tell me.

hope this helps

Nicolas
Comment 1 Di Pietro Nicolas 2004-11-13 13:54:37 UTC
solution : look for 
memory_limit = 8M      ; Maximum amount of memory a script may consume (8MB)
and set it to 16M (for exemple)
in your php.ini file


greeting
Nicolas
Comment 2 Nguyen Thai Ngoc Duy (RETIRED) gentoo-dev 2004-12-02 17:47:15 UTC
Had the same problem. Changing to 16M fixed the problem. Should we add an einfo to php-pear to notice users about exhausted memory?
Comment 3 Di Pietro Nicolas 2004-12-04 15:51:28 UTC
I think yes, but I don't know how to do, so I leave it as is and if someone got the problem and look a bit, he will find this bug report (until the php team change this)
Nicolas
Comment 4 Sebastian Bergmann (RETIRED) gentoo-dev 2005-02-16 23:05:21 UTC
I cannot reproduce this with either PHP 4.3.10 or PHP 5.0.3.