Installing GDChart

apps

#1

Hi there.
I’m trying to install GDChart, a PECL extension, on my site…but it’s not working. I go into the shell and type

but I get the following error:

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 92160 bytes)
Any solutions to this? The library can be found at http://pecl.php.net/package/GDChart

Edit 1: I’ve found out one problem - Dreamhost says i’m running php version 4.4.9 through the php -v command.


#2

You’re only running PHP 4 when typing in ‘php’ on the command line. What your site is running is independent of this. If you want to execute php5 on command line, you’ll need to type /usr/local/php5/bin/php


#3

The problem is, PEAR/PECL thinks I’m running php4