This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use Stack Overflow.

PEAR installation problem

Installation and environment issues, mainly on 1.x but there's some 2.x here too.

PEAR installation problem

by c1sc0 » Wed Nov 09, 2005 4:10 pm

I'm trying to install symfony with PEAR and I get this msg. :

sudo pear install symfony/symfony

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 39 bytes) in /usr/share/php/PEAR/XMLParser.php on line 133
Allowed memory size of 8388608 bytes exhausted (tried to allocate 23 bytes)

I'm running Ubuntu Breezy (5.10)

Any help welcome, I'll continue searching & post if I come up with a solution.

Cheers - Francis
c1sc0
Junior Member
 
Posts: 6
Joined: Wed Nov 09, 2005 3:16 pm

Re: PEAR installation problem

by c1sc0 » Wed Nov 09, 2005 4:19 pm

FYI: solved the problem by increasing memory_limit in php.ini for the CLI:

/etc/php5/cli/php.ini (on my system)
c1sc0
Junior Member
 
Posts: 6
Joined: Wed Nov 09, 2005 3:16 pm

Re: PEAR installation problem

by fabien » Thu Nov 10, 2005 9:03 am

I added an entry in the FAQ.
fabien
Faithful Member
 
Posts: 487
Joined: Sat Oct 22, 2005 9:01 am

Re: PEAR installation problem

by c1sc0 » Thu Nov 10, 2005 10:48 am

Maybe also add something about magic_quotes_gpc = Off
c1sc0
Junior Member
 
Posts: 6
Joined: Wed Nov 09, 2005 3:16 pm