Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.10.18

Bug #1596 phpDocumentor, pear installation and php4-cgi out of memory
Submitted: 2004-06-09 20:05 UTC
From: avartabedian at webservices dot com dot uy Assigned:
Status: Bogus Package: PEAR
PHP Version: 4.3.4 OS: Linux 2.4.26 Debian Sarge
Roadmaps: (Not assigned)    
Subscription  


 [2004-06-09 20:05 UTC] avartabedian at webservices dot com dot uy
Description: ------------ the memory limit of 8M in the cgi php.ini produce a fatal error in the instalation script. changing to 16M for example solve the problem. i could be a good idea put a ini_alter("memory_limit", "**M"); in the installation script. Reproduce code: --------------- # pear install phpdocumentor Expected result: ---------------- downloading PhpDocumentor-1.2.3.tgz ... Starting to download PhpDocumentor-1.2.3.tgz (2,656,621 bytes) .............................................................................................................................................................................................................................................................................................................................................................................................................................done: 2,656,621 bytes install ok: PhpDocumentor 1.2.3 Actual result: -------------- downloading PhpDocumentor-1.2.3.tgz ... Starting to download PhpDocumentor-1.2.3.tgz (2,656,621 bytes) .............................................................................................................................................................................................................................................................................................................................................................................................................................done: 2,656,621 bytes PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 140 bytes) in /usr/share/php/PEAR/Installer.php on line 383 Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 140 bytes) in /usr/share/php/PEAR/Installer.php on line 383 PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 0 bytes) in Unknown on line 0 Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 0 bytes) in Unknown on line 0

Comments

 [2004-06-09 22:33 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2004-06-13 14:00 UTC] pierre at dotgeek dot org
I'm not sure it's up to PEAR to set the memory limit. Tomas, Greg, opinions?
 [2004-06-13 18:14 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2005-10-05 05:18 UTC] mehta dot kalpana at gmail dot com
Installation of phpdocumentor is okay. []#pear install phpdocumentor []#cd /usr/bin []#phpdoc PHP Fatal error: Cannot re-assign $this in /usr/share/pear/PhpDocumentor/phpDocumentor/ParserElements.inc on line 238 i.e phpdocumentor is not running properly .!! Have a nice time. -Kalpana Vandemataram..
 [2006-05-19 04:47 UTC] seufert at gmail dot com (Chris Seufert)
Has this issue been addressed? Or is this a pear installer problem?
 [2006-11-01 18:14 UTC] casen dot payne at gmail dot com (Casen Payne)
Still occurring with latest PHP4/Pear/phpDocumentor on a fresh SLES 10 install. PEAR Version: 1.4.11 PHP Version: 4.4.4 Zend Engine Version: 1.3.0 Running on: Linux dev 2.6.16.21-0.8-default #1 Mon Jul 3 18:25:39 UTC 2006 i686 Starting to download PhpDocumentor-1.3.1.tgz (2,432,613 bytes) ... Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 8192 bytes) in /usr/share/php/PEAR/Installer.php on line 521
 [2006-11-19 10:14 UTC] gustavo at zaera dot org (gustavo zaera)
According to http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg205637.html the solution is to increase the allowed memory size for PEAR. I did this by altering the following line in /usr/bin/pear : exec $PHP -C -q $INCARG -d output_buffering=1 $INCDIR/pearcmd.php "$@" to exec $PHP -C -q $INCARG -d output_buffering=1 -d memory_limit=36M $INCDIR/pearcmd.php "$@" cheers, gustavo
 [2006-11-19 18:20 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2007-02-21 21:53 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2007-10-15 05:56 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!