PDA

View Full Version : GD Modules


MikeM
13th September 2007, 20:21
I need to view some graphs on my site and it says I need gd modules. Does anybody know if this is supported with ISP Config and how I would install those modules?

I'm kinda new with linux webhosting :rolleyes:

Thanks.

Mike Murphy

Telesat
13th September 2007, 20:47
It depends on your distribution, just install it using your packet manager.

For deb based distros (Debian, Ubuntu...) I use aptitude:

aptitude update && aptitude search gd | grep ' GD '
aptitude install libgd2-xpm libgdchart-gd2-xpm php4-gd php5-gd
Note that you can install it for php4, php5 or both.

For rpm based distros (Red Hat, Fedora, CentOS...) I use yum:

yum search gd
yum install gd php-gd gd-progs

MikeM
13th September 2007, 21:02
Sorry I forgot to put that in. I set ISP Config up with Debian 4. I'll try the code you indicated.

Thanks.

Mike Murphy

MikeM
13th September 2007, 21:06
OK, I ran the indicated code, and it seemed to install, but I am still getting the error that I need to install gd modules. Any more ideas?

Mike Murphy

Telesat
13th September 2007, 21:46
Please post the error you get and the info about the web application that is trying to generate the graphs.

MikeM
13th September 2007, 21:54
Got it. I installed libgd-graph3d-perl and everything worked.

Thanks for the help.