Jump to content

Archived

This topic is now archived and is closed to further replies.

superalpha

How to enable GD Library and JPGraph

Recommended Posts

I am a master student of faculty of engineering, Bangkok, Thailand.
I have some question to ask about GD library.

My server is use Red Hat Enterprise AS4. PHP version is 4.3.9(built in redhat). I want to run JPGraph in my server but I couldn't. I read from many websites that it told GD library is bundle in PHP => 4.3 . So I think GD Library should be run in my server. Please told me that how can I do to solve this problem?

Share this post


Link to post
Share on other sites
Hey superalpha,

You will need some other software to get going with JPGraph.  Add this to your configure line:

--enable-gd
--enable-gd-native-ttf
--with-jpeg-dir=/usr/local
--with-png-dir=/usr/local
--with-ttf
--with-freetype-dir=/usr/local
--with-iconv=/usr/local
Search for and install the following software: zlib, libpng, libjpeg, freetype-font1 & 2, and libiconv. 

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.