blueberrylolli Posted September 20, 2009 Share Posted September 20, 2009 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! Quote Link to comment Share on other sites More sharing options...
trq Posted September 20, 2009 Share Posted September 20, 2009 Did you restart Apache after changing the php.ini? Quote Link to comment Share on other sites More sharing options...
blueberrylolli Posted September 20, 2009 Author Share Posted September 20, 2009 yes Quote Link to comment Share on other sites More sharing options...
PFMaBiSmAd Posted September 20, 2009 Share Posted September 20, 2009 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. Quote Link to comment Share on other sites More sharing options...
blueberrylolli Posted September 21, 2009 Author Share Posted September 21, 2009 o wow, the extension_dir path default was "./" and not /ext lolz omg thanks for your help 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.