I've been working on a PHP script for a couple of months now, and normally I find answers to my questions in places like this. However, I seem to have come up with an original problem now.
I found some script to use to create a thumbnail, and it includes the function imagecreatefromjpeg(). When I run the script, however, I get the error
Fatal error: Call to undefined function: imagecreatefromjpeg()
I'm running Apache, with PHP version 4.2.0, and Windows XP. I went to the snapshot site and made sure that everything in my PHP folder was up to date, and I tried to un-comment the line in php.ini that says "extension=php_gd2.dll", but when I do that, Apache can't find the extension. It does exist in the Extensions folder.
I tried changing the extension line to "/extension=php_gd2.dll", and Apache seems to accept that, but I still get the error.
Any ideas?