Help - Search - Members - Calendar
Full Version: JpGraph and GD2
The Planet Forums > Control Panels > cPanel/WHM
jezlurkin
Greetings,

I'm running PHP 4.3.9 with GD2 bundled (2.0.28 compatible).

But I'm getting an error in MailWatch when I look at the reports :

"JpGraph Error: Your PHP installation does not seem to have the required GD library."

I was under the impression that JpGraph was an element of GD2.

I'm a little confused. Do I need to recompile the PHP or install JpGraph seperately?

Thanks.
eth00
First off php 4.3.9 is old and vulnerable, upgrade it ASAP!

GD is not just a single package but a application that can hvae a lot of extensions built into it. I have personally not used jdgraph but it sounds like it is a GD2 extension you build into it. If that is the case you are going to have to manually recompile php. If you do recompile php remember that each time easyapache is run you will have to recompile it since easyapache will overwrite your custom compile.
theuruguayan
For what i can find out jpgraph use GD library, you could use easyapache in advanced mode to install GD library.

and for jpgraph:

You will need to acquire JPGraph software package located at http://www.aditus.nu/jpgraph/jpdownload.php. Make a directory in your lib directory called "jpgraph". Upload the contents of the JPGraph src folder to lib/jpgraph directory.

Your directory structure should look like this after the upload:

lib/include
lib/images
lib/jpgraph
lib/jpgraph/jpgraph.php (and other jpgraph files)

You need to configure JPGraph per the JPGraph install docs.

and you should be ready.

carlos
jezlurkin
Thank you both!

I'll get on it asap.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.