Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Getting GD to work with PHP on windows

Options
  • 27-04-2005 3:42pm
    #1
    Registered Users Posts: 1,268 ✭✭✭


    Apache 2.0.53 (Win32)
    PHP 4.3.10

    php.ini
    ; Directory in which the loadable extensions (modules) reside.
    extension_dir = "c:/php/extensions"
    
    ...
    
    ;extension=php_filepro.dll
    extension=php_gd2.dll
    

    Fatal error: Call to undefined function: gd_info() in C:\htdocs\gd.php on line 7

    Anyone know what might be wrong?


Comments

  • Closed Accounts Posts: 4,655 ✭✭✭Ph3n0m


    Stupid question - but where is your php.ini file located?


  • Registered Users Posts: 1,268 ✭✭✭hostyle


    Ph3n0m wrote:
    Stupid question - but where is your php.ini file located?

    C:/windows/system32 as it happens. Turns out it should have been in c:/windows instead. Thanks.


Advertisement