Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Oct 2004
    Posts
    592
    Thanks
    0
    Thanked 1 Time in 1 Post

    GD not work in WinXP- Apache

    Hi ya

    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.

  • #2
    Senior Coder CFMaBiSmAd's Avatar
    Join Date
    Oct 2006
    Location
    Denver, Colorado USA
    Posts
    3,131
    Thanks
    2
    Thanked 328 Times in 320 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 -
    PHP Code:
    <?php
    phpinfo
    ();
    ?>
    . 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.
    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.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •