Hi,
Okay, so I think I've tried everything and searched everywhere.
Since a few weeks I've been happily programming in PHP4. It works swell, I might say perfect. What a lovely language!
Now I wanted to create a statistics tool, for that I needed to load an image.
like <img src="count.php?text">. The example in the manual for image creation didn't work, obviously because I didn't have the GD compiled with PHP4 (so what does that mean?).
I'm running NT4 with IIS4 and PHP4. It didn't contain php_gd.dll in the installation, so I've been searching like crazy finally to find a php_gd.dll and it still doesn't work.
I get errors like:
Call to undefined function: imagecreatefromgif()
At last I downloaded the PHP4 source files. I actually found a ext/gd/ directory so I was thinking just do it by the book (like explained on php.net) and compile.
The result was a php4ts.dll and php.exe. I've replaced them witht the original files, restarted everything...
And it still doesn't work. I'm not known with C++ enviroments so I guess what I need to know is:
How to get the image functions work with php4 on windows NT4 with IIS4 ?
I have all the tools PHP advises like cygnus and Visual C++, but they don't explain how to "compile PHP with GD"
If anyone here can give me help it's greatly appreciated !