[ms4w-users] GD LIBRARY compilation

Paul Spencer pspencer at dmsolutions.ca
Mon Oct 18 18:50:12 EDT 2004

JpGraph requires that you 'preload' the gd libraries by editing your 
php.ini file and uncommenting the line for php_gd2.dll

This should not cause problems for any of our software as we normally 
try to detect if an extension is loaded before loading it.

JpGraph *should* include code that attempts to load the gd library, as in:

if (!extension_loaded( 'gd' ))
	dl( 'php_gd2.'.PHP_SHLIB_SUFFIX);

But for your needs, editing the php.ini file should be sufficient.



Ike Brian wrote:
> Hello,
> I am trying to use JpGraph which uses php configuration with GD library. 
> Any example of JpGraph I try to run give an error message that " PHP 
> installation is not configured with the GD library.Please recompile PHP 
> with GD support"
> I would therefore like to know how to solve this issue since I am using 
> ms4w.
> Thank you very much.
> ------------------------------------------------------------------------
> Do you Yahoo!?
> Express yourself with Y! Messenger! Free. Download now 
> <http://us.rd.yahoo.com/mail_us/taglines/msgr/evt=26089/*http://messenger.yahoo.com>. 
> ------------------------------------------------------------------------
> _______________________________________________
> ms4w-users mailing list
> ms4w-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ms4w-users

More information about the ms4w-users mailing list