Jump to content

GD 2.0 help needed


Recommended Posts

I was setting up a web server on my home pc with XP. I installed Apache 2.2 and PHP 5.2.6 and got the website running, but can't figure out how to get the GD 2.0 function working that is needed for part of the website. Can someone walk me thru what is needed to get it to work? From what I read, its supposed to be part of PHP 5.2.6. Thanks all!!

Link to comment
Share on other sites

It does come with PHP yes. However in order use GD you must enable the extension, you do this by finding the following line within the php.ini

;extension=php_gd2.dll

remove the semi-colon ( ; ) at the beginning of the line and save the php.ini and then restart Apache.

 

NOTE: Make sure the extension_dir directive is setup correctly, this directive should be set to PHP's extension folder. Example:

extension_dir = "C:/php/ext"

Link to comment
Share on other sites

I did as above, but still no luck on the GD2.0 working. I know the site files are good as it worked on a server that was dropped. On the install, it said

extension_dir = "C:\php\ext", and you suggested extension_dir = "C:/php/ext"

Neither way made any difference. Any more ideas?? Thanks for the help!

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.