Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: GD not work in WinXP- Apache
10-28-2006, 05:57 PM #1
- Join Date
- Oct 2004
- Thanked 1 Time in 1 Post
GD not work in WinXP- Apache
The GD doesn't work in Window XP SP2, apach2.
But it works in IIS.
Even though I check php.ini in window dir, I found php_gd.dll. Why doesn't it work in apache?
Thank you so.
10-28-2006, 06:38 PM #2
- Join Date
- Oct 2006
- Denver, Colorado USA
- Thanked 340 Times in 332 Posts
The php.ini that is being used by the Apache invocation of PHP is probably a different one than what you are making changes to.
Create a .php file in your Apache root document folder, with the following code and browse to it -
. Near the start of the page that is output, find the Configuration File (php.ini) Path and make sure the php.ini that is listed is where you are enabling the GD extension.PHP Code:
If you are learning PHP, developing PHP code, or debugging PHP code, do yourself a favor and check your web server log for errors and/or turn on full PHP error reporting in php.ini or in a .htaccess file to get PHP to help you.