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
https://forums.phpfreaks.com/topic/121117-gd-20-help-needed/
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
https://forums.phpfreaks.com/topic/121117-gd-20-help-needed/#findComment-624412
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
https://forums.phpfreaks.com/topic/121117-gd-20-help-needed/#findComment-624566
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.