The GD Library is not installed under php in windows, how do I install it?
Answer:
Go to http://www.php.net/downloads.php and download the 'PHP 4.x.x zip package' if you don't allready have it. This package contains the GD-Library for windows. Find php_gd2.dll (or php_gd.dll if you need gif-support, but you will have less good image quality) and put it in your php folder (Usual c:\php). Find in the php.ini in your windows folder:
;extension=php_gd.dll
;extension=php_gd2.dll
Uncomment extension="php_gd2".dll by deleting the ';' in front of it.
George Petrov is a renowned software writer and developer whose extensive skills brought numerous extensions, articles and knowledge to the DMXzone- the online community for professional Adobe Dreamweaver users. His expertise in countless languages and technologies gives inspiration and teach valuable lessons on his website – DMXzone.com, which is visited daily by more than 30.000 people and is most popular for its over high-quality Dreamweaver extensions and templates.






Comments
Jim Civitello
HELP
I have PHP 5 installed on my windows server 2003 machine and I can't get the smart image prossor to work, I have the php_gd2.dll in my PHP directory and did the correct edit in my php.ini file by removing the ";" from infront of the extention, I then restarted IIS...............when I try to run my page with the Smart Image Proccessor I get this error:
Warning: dl() [function.dl]: Not supported in multithreaded Web servers - use extension="gd.so" in your php.ini in E:\domains\powercover.com\wwwroot\testing_server\ScriptLibrary\incResize.php on line 129
Error occurred in the Smart Image Processor
The GD Library is not installed correctly
Please correct
Can someone tell me why this is happening and what I need to do to fix this problem
erik lindsten
Problem keeps coming
I have put in the right path and done is you write but gets this warning.
PHP Warning: PHP Startup: gd: Unable to initialize module Module compiled with module api="20040412," debug="0," thread-safety=1 PHP compiled with module api="20041030," debug="0," thread-safety=1 These options need to match in Unknown on line 0
Someone any ide? (IIS5.1 & PHP5.04)