gd-library
Posted by: deliverme (---.dhcp.inet.fi)
Date: May 27, 2006 05:17AM

Hi. I just installed Wamp on my computer and noticed that it wont let me use the gd-library, i'v read that others have had the same problem. imagecreatefromjpeg() function doesn't wok at all... So i'v tried things like Wamp system icon tray --> apache modules --> Add extension --> php_gd2.dll. And i have uncommented the extension = blablabla.. from php-ini DIST and php-ini(RECOMMENTED)..And i have changet the extension_dir to right on. files but it doesnt work neither. So what can be a problem? I had the same problem with apache 2.0.
Thanks very very very much for any help!

Re: gd-library
Posted by: deliverme (---.dhcp.inet.fi)
Date: May 27, 2006 05:19AM

And sorry for spelling mistakes...

Re: gd-library
Posted by: CyberSpatium (67.170.181.---)
Date: May 27, 2006 07:21AM

undo all the changes you did, and then go back and enable gd2 with the wamp tray icon, or editing the php.ini file. You should not have edited extension dir setting. After you make any changes to the php.ini file, you need to restart apache for the new settigns to take effect.

Re: gd-library
Posted by: deliverme (---.dhcp.inet.fi)
Date: May 27, 2006 09:25AM

Thanks for fast reply. I tried everything you said but it didn't work sad smiley
1. i tried it from icon tray, and it said its allredy configured to php-ini
then i tested. No effect.
2. I uncommented the "gd-line" from php-ini + restarted apache, but it still doesn't work..

Re: gd-library
Posted by: deliverme (---.dhcp.inet.fi)
Date: May 27, 2006 09:53AM

Got it. phpinfo(): show me that it read the php-ini file from wrong directory.
Now it says GD = enabled smiling smiley
Thanks!

Re: gd-library
Posted by: CyberSpatium (67.170.181.---)
Date: May 27, 2006 10:29AM

no problem, glad I could help

gd-library
Posted by: alanX (---.ctinets.com)
Date: May 31, 2006 12:44PM

Hi :
I also have a probelm with GD library. It always shows the error message:
(: undefine function imagecreate()smiling smiley
I have repeat the procedures above several times. But still fail
(Wamp system icon tray --> apache modules --> Add extension --> php_gd2.dll)

I am using Wamp 1.6.3. Can anyone help me ?deliverme wrote:

Re: gd-library
Posted by: CyberSpatium (67.170.181.---)
Date: May 31, 2006 01:30PM

when you enable an extention, you need to restart apache for the new settings to take place.

Re: gd-library
Posted by: Imvikky (220.226.64.---)
Date: June 07, 2006 10:54PM

I have enabled gd-library but when I try to create image from png it is showing text instead of image... what do I do???

Re: gd-library
Posted by: CyberSpatium (67.170.181.---)
Date: June 08, 2006 04:20AM

go to [localhost] and make sure there is a GD section there, and that PNG Support is enabled.

Re: gd-library
Posted by: beesuke (---.bbtec.net)
Date: June 27, 2006 07:39PM

I did that, and there is a GD section, and PNG supports is enabled. I still get text instead of pictures. I don't know what to do...help please!



Post Edited (06-27-06 20:03)

Re: gd-library
Posted by: CyberSpatium (67.170.181.---)
Date: June 27, 2006 08:44PM

make sure you are using GD, not ImageMagick. ImageMagick is not supported on Windows OS.

Re: gd-library
Posted by: beesuke (---.bbtec.net)
Date: June 28, 2006 01:55PM

how do i make sure this? the dll file is for gd, i never saw anything like imagemagi...

Re: gd-library
Posted by: Xajel (82.194.62.---)
Date: June 30, 2006 05:12PM

I found ImageMagick Distributions for Windows but I could not make it work sad smiley

Re: gd-library
Posted by: enpelolo (---.dyn.dsl.cantv.net)
Date: April 24, 2011 03:39PM

Hi

I have the same problem with imagecreate.

i have GD section enable and png, jpg enable, php_GD2 extension in pHP is enable(check).

But in apache->apacheModules can't see php_gd2.dll nor can't find the way to add it.

Another suggestion?

Thank in advance.

Sorry, only registered users may post in this forum.