Jump to content

Recommended Posts

Hi Gurus,

I want to use GD2 with JPgraph to have graphs and charts for my data. Below are my PHP and other details.

Operating system: Windows server 2000
Webserver: Apache 4.0.15
Script: PHP 4.3.3

relavent Contents of PHP.ini : doc_root = e:\Program Files\Apache Group\Apache2\htdocs
extension_dir = "./"
extension=php_gd2.dll I have removed ";"


GD: I have a folder by name gd-2.0.33 with .C files
JPGraph: JPgraph 1.20.3


I have a webapplication running sucessfully with the above php.ini settings, I need to use GD2 so please help me to configure GD2 and use it in my scripts

Thanks in advance,
mayu_bt
Link to comment
https://forums.phpfreaks.com/topic/6611-gd2-intallation/
Share on other sites

GD2 is already compiled with PHP on WIndows. In order to use GD you will need to enable the php_gd2.dll file and you'll be able to use the various GD2 functions.

Just open up you php.ini file and setup the line that says extension_dir so it points to the PHP extension folder.

Then scroll alittle further and you'll need to remove the ; from the start of the line that says:
;exension=php_gd2.dll

Once you have done that save the PHP.ini file and restart your server for the changes to be made.
Link to comment
https://forums.phpfreaks.com/topic/6611-gd2-intallation/#findComment-24127
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.