Re: installation failure - memory allocation????
| From: | Scott Brown | Date: | Wed, 26 Mar 2008 09:01:24 +0000 |
| Subject: | Re: installation failure - memory allocation???? | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-28690@lists.php.net to get a copy of this message | ||
Hi Paul:
Thanks! That fixed it right away. I changed both the php.ini in /etc and in /etc/php5 both to 100M
and the installation completed immediately. Thanks a lot. Now, on to install FreePBX. All these
little subtile details lurk everywhere in unix systems. How is one to know about all of them?
I'm glad you did, Paul. I knew I needed more available memory, but I just didn't know
where it was specified.
Scott
----- Original Message ----
From: Paul Scott <pscott@uwc.ac.za>
To: Scott Brown <scotflyr@pacbell.net>
Cc: Mark Steudel <msteudel@gmail.com>; pear-general@lists.php.net
Sent: Wednesday, March 26, 2008 12:57:45 AM
Subject: Re: [PEAR] installation failure - memory allocation????
On Wed, 2008-03-26 at 00:50 -0700, Scott Brown wrote:
> Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 368640 bytes) in
> /usr/PEAR/temp/PEAR/Installer.php on line 1297
> Allowed memory size of 8388608 bytes exhausted (tried to allocate 5 bytes)
>
What you need to do is to increase the memory_limit in your php.ini that
the cli uses. On debian based systems (yes, I see that you are using
SuSE) there are two php.ini's one for CLI and another for Apache.
Edit the php.ini file and increase memory_limit from 8M to something
higher, like 50M, and that should solve your problem.
--Paul
--
------------------------------------------------------------.
| Chisimba PHP5 Framework - http://avoir.uwc.ac.za |
:------------------------------------------------------------:
All Email originating from UWC is covered by disclaimer
http://www.uwc.ac.za/portal/public/portal_services/disclaimer.htm