On Thu, Jan 18, 2001 at 03:47:10PM +0100, Degauquier, Yves wrote :
> I, I did the installation of the packages Apache, PHP4, GD,...
> for generating some graphics.
> When I try some examples, I get the following error:
> Fatal error: Call to undefined function: imagecreate() in
> /usr/local/share/apache/htdocs/php/listings/19-1.php on line 30
Have you built 'shared' GD support ? If you, you must
enable the php shared gd library in the php.ini file
extension=gd.so
(check if extension_dir is proper set)
You can also do this on-demand in your scripts
<?
if( !extension_loaded( "gd.so"))
dl( "gd.so");
?>
m.
--
Markus Fischer, http://josefine.ben.tuwien.ac.at/~mfischer/
EMail: [EMAIL PROTECTED]
PGP Public Key: http://josefine.ben.tuwien.ac.at/~mfischer/C2272BD0.asc
PGP Fingerprint: D3B0 DD4F E12B F911 3CE1 C2B5 D674 B445 C227 2BD0
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]