PDA

View Full Version : Problem with GD Module in PHP, Win98 and Apache


Kandrak
06-13-2003, 06:20 AM
Ok, I'm trying to install Smiliecreator from the hacks section here. I've installed it, works fine except the graphic doesn't show up. I figured out that I don't have GD running.

System Configuration:

Win98
Apache 2.02
PHP 4.3.1

I edited my php.ini file to turn on the php_g2.dll module, but when I went to load my site, Apache took a nose dive and wouldn't load it. Commenting out the dynamic module

;extension=php_gd2.dll

stopped the slow loading but that didn't solve the GD problem. I did some searching and found out that perhaps the problem was that php needed to be loaded as an Apache module rather than as a CGI, so I switched it over. I took the comment out of the dynamic module section and Apache loads fine, but I can't get GD to load (a phpinfo doesn't show it as coming up). Any ideas?

Kandrak
06-13-2003, 06:34 PM
I finally got it working. I went back to the php site and downloaded the .zip package instead of the installer. Then, I made copies of all the DLLs and put them into the /windows/system directory. After that I copied gd and gd2 to the main php directory. That seemed to do the trick.

filburt1
06-13-2003, 07:28 PM
FWIW, working with pretty much any web development sucks *** in Windows 98 (or another 95-based OS), mainly due to the lack of good services support. I very strongly suggest you use 2000 or XP.