Page 1 of 1

No GD Library in PHP 5

Posted: Sat Sep 06, 2008 3:28 am
by srd
Im trying to install CMS made simple and I cant get passed the install screen because I get this error
GD library are mandatory for some modules and functionality.
After reading lots of documentation and forums I ran a php info check
and I dont see GD anywhere on that page (all the forums that I read say it should show up on this page).
I also checked the php.ini file inside the PHP folder and it says:
[gd]
; Tell the jpeg decode to libjpeg warnings and try to create
; a gd image. The warning will then be displayed as notices
; disabled by default
;gd.jpeg_ignore_warning = 0
After reading a couple of forums I decided to download the GD Library, but I dont know where to put it, or how to install it. Do I need to download it into the CMS Made Simple folder or the PHP folder or what? I read through forums and documentation, and they all have info for how to enable GD for earlier versions of php.  This is my environment

Apache/2.2.9
PHP/5.2.6
MySQL Server 5.0
Windows XP

If someone could please direct me on how to get a GD Library. I cant get passed the install screen because its not showing a GD library. Oh and Im a newbie, so you'll have to keep it simple, I copy and paste really well, but when it comes to technical jargon, I get lost.
Thanks

Re: No GD Library in PHP 5

Posted: Sat Sep 06, 2008 7:56 am
by Coldman
Hi!

Take an look in your PHP/ext folder and check if you have php_gd2.dll  there. It should be there.
Copy that file and paste into your %SYSTEM%\system32 folder.

Then open your php.ini file and take an look under Dynamic Extensions . There you will find a line like this ;extension=php_gd2.dll
Remove ; to activate gd , restart your server and it should work.

After that do an new test with

Re: No GD Library in PHP 5

Posted: Sat Sep 06, 2008 6:10 pm
by srd
there is no such file in that folder. I only see
php_mbstring.dll
php_msql.dll
php_mysql.dll
php_mysqli.dll

Is there somewhere else I can get it from?

Re: No GD Library in PHP 5

Posted: Sat Sep 06, 2008 6:39 pm
by alby
srd wrote: there is no such file in that folder. I only see
php_mbstring.dll
php_msql.dll
php_mysql.dll
php_mysqli.dll

Is there somewhere else I can get it from?
Install a complete suite, for example xampp

Alby

Re: No GD Library in PHP 5

Posted: Sat Sep 06, 2008 8:30 pm
by Coldman
or WAMP

[solved] Re: No GD Library in PHP 5

Posted: Mon Sep 08, 2008 5:35 am
by srd
I installed wamp, and that fixed my problem. Gd came in the ext. folder when I installed wamp, and  I like the set up too. Much easier to create databases for non technical people.

Thanks for recommending that site, that was great!