Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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