Jump to content

GD Library on Win Xp


Recommended Posts

Hello

I've installed wamp on a win xp pro machine.  Th following things are true:

ini file:  extension=php_gd2.dll (line is uncommented)
          extension_dir = "c:/wamp/php/ext/"

and in the directory:  c:/wamp/php/ext/ the php_2.dll is installed.

However php doe not seem to be aware of the existance of the gd library.

all calls to gd functions return with an error message:  Fatal error: Call to undefined function imagecreatefrompng() ...... (typical)

I have gone over everything I can think of and cannot find the solution.

Also, when I look at the setup using phpInfo() info shows no sign of the gd library being present.

Am I missing something?

Should I dump wamp and start over?  (hate to do that)

Thanks

michael
Link to comment
https://forums.phpfreaks.com/topic/35130-gd-library-on-win-xp/
Share on other sites

Have you tried restarting WAMP? Click WAMP's tray icon (small white icon that looks like a speedometer). Right click and and select [b]Restart All Services[/b]

You must restart WAMP when you change any of WAMP's configuration files (php.ini, httpd.conf or my.conf).

Also I got myself mixed up in my earlier post with WAMP being XAMPP so ignore what I said. ;)
Link to comment
https://forums.phpfreaks.com/topic/35130-gd-library-on-win-xp/#findComment-169207
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.