
May 28th, 2005, 05:20 AM
|
|
Registered User
|
|
Join Date: Apr 2007
Posts: 22,309
Time spent in forums: < 1 sec
Reputation Power: 24
|
|
|
GD troubles on Windows
Hi, I've been using PHP for a while now and I'm trying to copy over a project from my Linux PHP installation to a windows one. I've installed PHP and everything works great, except that it doesn't recognize the GD2 extension.
I'm certain it isn't the script, as it works on Linux, and copying and pasting examples from the PHP manual doesn't work either. Strangely, all the GD constants are defined and "php.exe -m" lists gd, but attempting to use any GD function (even gd_info()) results in an undefined function error and extension_loaded("gd") returns false.
I've checked the PHP documentation and user comments, double checked httpd.conf and php.ini, and tried several suggestions (such as including ansi.sys in my config.sys) to no avail.
Am I doing something wrong or is my php_gd2.dll just corrupt? For reference I'm using PHP 4.3.4 (windows zip distribution) on Apache 1.3.20 for windows.
|