Jump to content

[SOLVED] GD library in php 5 apache 2.2


Recommended Posts

hi, i installed apache 2.2 today with the latest version of php.  then i enabled gd2.dll in php ini. but when i do phpinfo, the gd info block doesn't show up.  no images are generated and image scripts are blank, and other scripts, like guest books that require spam protection using a generated image doesn't show up.  (i see a little paper sign which is the default for showing it's a image, but no actual image)  what could be the problem thanks!

Link to comment
Share on other sites

Is the php.ini that you changed the one that php is using? The phpinfo() output for the Loaded Configuration File is the php.ini that is actually being used.

 

Beyond that is the extension_dir set to the ext folder where the extension .dll files are located and is the php_gd2.dll present in that folder?

 

And what method did you use to install php as that determines how you go about enabling extensions? Manually installing the .zip package is the best way because you can then just uncomment extensions in the php.ini and restart the web server. Using the .msi installer is problematic because you cannot just uncomment extensions in the php.ini.

Link to comment
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.