gavinr98 Posted May 5, 2009 Share Posted May 5, 2009 Hello, I am having a problem with displaying images for captcha on my site, I found out that my hosting company requires me to use a php.ini file to turn on GD so the image displays. I have tried to use several php.ini files and nothing seems to work, can anyone help with a sample php.ini that only enables GD and does not affect any of the other pages. Below is what I entered in the php.ini and the image still does not display... any help on this is appreciated. extension=php_gd2.dll Thanks Gavin... Quote Link to comment Share on other sites More sharing options...
trq Posted May 5, 2009 Share Posted May 5, 2009 What OS is your host using? Linux uses *.so files, not *.dlls. Quote Link to comment Share on other sites More sharing options...
suncore Posted May 5, 2009 Share Posted May 5, 2009 php.ini extension = gd.so httpd.conf LoadModule gd_module /usr/lib/apache/mod_gd.so AddModule mod_gd.c Quote Link to comment Share on other sites More sharing options...
gavinr98 Posted May 6, 2009 Author Share Posted May 6, 2009 Thank you so much for the help, everything is working now. Thanks Gavin... Quote Link to comment 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.