Jump to content

Archived

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

superalpha

GD Library problem

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
Not sure about your problem, but you could always run a file with just the phpinfo() function to double check that the GD library is installed.

Share this post


Link to post
Share on other sites
Check out the tutorials on this site, might have some info that helps:
gd library:[url=http://www.phpfreaks.com/tutorials/105/0.php] http://www.phpfreaks.com/tutorials/105/0.php[/url]
jpgraph: [url=http://www.phpfreaks.com/tutorials/112/0.php]http://www.phpfreaks.com/tutorials/112/0.php[/url]

Share this post


Link to post
Share on other sites
I had already run phpinfo(). It 's not show GD function. So, how can I enable it. GD library is bundle in PHP=>4.3 but I think I should enable it but I don't know how can i do. Please suggest me.

Share this post


Link to post
Share on other sites
Find the "php.ini" config file (somewhere like /etc/httpd/php.ini). Then in that file, under Dynamic Extensions,  find the line ";extension=php_gd2.dll" and just uncomment it (i.e. remove the ";"). That should do the trick.

Share this post


Link to post
Share on other sites
Dear Mr.Kopander.
          I already checked in php.ini file. there isn't it in any line that you told me. In my opinion, GD is still not run. I think there is another method to run GD. Please help me.!!

Share this post


Link to post
Share on other sites
Find the person who built PHP on your server, ask them to rebuild PHP and to include GD in the build.

Ken

Share this post


Link to post
Share on other sites
Dear Ken
          I am setup and install Redhat Enterprise AS4 with myself. PHP was built in Redhat. I think GD should run because GD library is bundle in PHP=>4.3.0 . However, when I check with my phpinfo.php file, there is no GD shown in page. I think we GD is in my server but it's disable. Who can describe me?

Share this post


Link to post
Share on other sites
you need to install GD. for example i have php version 5 on ubuntu. but the ubuntu team took GD out of PHP and have it as a seperate install.

go to redhats package manager and search for "php gd" make sure you get the GD version that [u]matches[/u] you PHP version.

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.