Jump to content


Photo

How to enable GD Library and JPGraph


  • Please log in to reply
1 reply to this topic

#1 superalpha

superalpha
  • New Members
  • Pip
  • Newbie
  • 8 posts

Posted 07 July 2006 - 12:40 PM

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?

#2 willfitch

willfitch
  • Members
  • PipPipPip
  • Advanced Member
  • 109 posts
  • LocationNew Hope, PA

Posted 10 July 2006 - 03:41 AM

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. 
Zend Certified Engineer (ZEND001989)
www.willfitch.com




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users