Re: Using PHP4 for graphics

From: Date: Sun, 21 Jan 2001 00:19:48 +0000
Subject: Re: Using PHP4 for graphics
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-1726@lists.php.net to get a copy of this message
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: mfischer@josefine.ben.tuwien.ac.at PGP Public Key: http://josefine.ben.tuwien.ac.at/~mfischer/C2272BD0.asc PGP Fingerprint: D3B0 DD4F E12B F911 3CE1 C2B5 D674 B445 C227 2BD0

« previous php.install (#1726) next »