mayu_bt Posted April 4, 2006 Share Posted April 4, 2006 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 2000Webserver: Apache 4.0.15Script: PHP 4.3.3relavent 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 filesJPGraph: JPgraph 1.20.3I 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 scriptsThanks in advance,mayu_bt Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted April 5, 2006 Share Posted April 5, 2006 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.dllOnce you have done that save the PHP.ini file and restart your server for the changes to be made. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.