[PECL-BUG] Doc #15107 [Opn->Bgs]: Pecl's installation memory restriction is not properly documented
[email protected] 5 Aug 2010 21:03:39 -0000
| Newsgroups | php.pear.doc |
|---|---|
| Message-ID | <[email protected]> |
Edit report at http://pecl.php.net/bugs/bug.php?id=15107&edit=1 ID: 15107 Updated by: [email protected] Reported By: jschottm at vt dot edu -Status: Open +Status: Bogus Id: 15107 Type: Documentation Problem Package: Documentation Operating System: CentOS 5 PHP Version: 5.1.6 New Comment: http://pear.php.net/bugs/bug.php?id=15107 Previous Comments: ------------------------------------------------------------------------ [2008-11-20 23:01:20] jschottm at vt dot edu Description: ------------ Pecl does not make it clear that it bypasses php.ini's memory limit. The only error it gives if it exceeds 8MB is this: pecl install apc ... "Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 92160 bytes) in /usr/share/pear/PEAR/PackageFile/v2/Validator.php on line 1831" Expected result: ---------------- 1. In the day and age when Firefox freshly launched consumes 47.7MB of memory, keeping an infrequently used installation program limited to 8MB is needless self denial. 2. The error message is not clear what's causing the problem and in fact putting it into $SEARCH_ENGINE will lead to recommendations to increase php.ini's memory limit setting which will not help in this situation. The problems created by this are not uncommon. Witness Greg's post here: http://aspn.activestate.com/ASPN/Mail/Message/pear-dev/3168978 If it's that common that he must repeat it for the nth time, it should be addressed. Actual result: -------------- 1. A reexamination of the memory limit should be done. 2. If the reexamination shows that the memory limit should remain as it is, the error code should be changed to clearly tell the user how to resolve the problem: "Fatal error: pecl's memory limit of 8MB exceeded. To install the package, use the command 'pear install pecl/$PACKAGENAME'" By modifying one string, the user is given the solution to the problem. ------------------------------------------------------------------------ -- Edit this bug report at http://pecl.php.net/bugs/bug.php?id=15107&edit=1