Forum Moderators: phranque
I've followed the instruction to enable the GD library.
Everything went fine and GD modules appears when I run php -m.
BUT, then loading apache it does not appear in the module list generated by:
<?php
phpinfo(INFO_MODULES);
?>
If I try to use it with JPGraph I get an errors saying the the PHP installation is not configured with the GD library.
I am using Apache 1.3.33 with PHP 4.3.11.
Any advice?
Thank you!
Paul
The command you issued with the -m switch will show "compiled in modules" but not necessarily those that have been enabled. You need to uncomment the gd extension .dll in your php.ini configuration file and make sure the extension itself can be found in the php path (the latter typically means you have to copy the extension file (php_gd2.dll) out of the /php/ext/ folder and into the php path, usually /php.
Although the warning above reads "We do not recommend using a threaded MPM in production with Apache2" - ignore that nonsense for Win32.All Apache/Win32 builds were *always* threaded. Always choose Apache 2 over Apache 1.3 on Windows - because major portions of Apache 2 were written from the ground up to accept Windows.Apache 1.3 was never designed for threads or non-posix systems. For Windows they were squirled in with some rather ugly hacks, which will never enjoy much improvement.