Bug #3536: PHP reports function imagecreate() as "unsupported or undefined"

From: Date: Sun, 20 Feb 2000 13:26:13 +0000
Subject: Bug #3536: PHP reports function imagecreate() as "unsupported or undefined"
Groups: php.dev 
Request: Send a blank email to php-dev+get-15705@lists.php.net to get a copy of this message
From: aka@myself.com Operating system: Solaris (i86) PHP version: 3.0.12 PHP Bug Type: Misbehaving function Bug description: PHP reports function imagecreate() as "unsupported or undefined" I run the code =========================== <?php // test of image create operation // Header( "Content-type: image/gif"); $str="this is a test of imagecreate"; $len=StrLen($str); $im=ImageCreate($len*6,16); $black = ImageColorAllocate($im, 0,0,0); $red = ImageColorAllocate($im,255,0,0); ImageFill($im,0,0,$red); ImageString($im,2,0,0,$str,$black); ImageGif($im); ImageDestroy($im); exit; ?> ================================================ On my win32 apache I get a nice little read box On Solaris apache I get the error <br> <b>Fatal error</b>: Call to unsupported or undefined function imagecreate() in <b>/kunder/clickitdk/htdocs/fanbase/image_test.php3</b> on line <b>7</b><br> ================================================= My solaris version runs in many other examples. compile list I did not compile the program my web hotel did, ================================================== php3.ini file ==================================================

« previous php.dev (#15705) next »