Miichael Posted January 21, 2007 Share Posted January 21, 2007 HelloI'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)Thanksmichael Quote Link to comment https://forums.phpfreaks.com/topic/35130-gd-library-on-win-xp/ Share on other sites More sharing options...
wildteen88 Posted January 24, 2007 Share Posted January 24, 2007 If you installed WAMP, the GD should already be enabled as if I rememeber correctly wamp enables other extensions during setup by default which includes GD.Have you got an extra php_gd2.dll from somewhere else? Quote Link to comment https://forums.phpfreaks.com/topic/35130-gd-library-on-win-xp/#findComment-168465 Share on other sites More sharing options...
Miichael Posted January 25, 2007 Author Share Posted January 25, 2007 No. I downloaded on copy of wamp.Loaded same on the win 2k machine and the win xp machine.Michael Quote Link to comment https://forums.phpfreaks.com/topic/35130-gd-library-on-win-xp/#findComment-168643 Share on other sites More sharing options...
wildteen88 Posted January 25, 2007 Share Posted January 25, 2007 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. ;) Quote Link to comment https://forums.phpfreaks.com/topic/35130-gd-library-on-win-xp/#findComment-169207 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.