|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-02-23 14:47 UTC] sas at cvs dot php dot net
[2000-08-19 12:07 UTC] joey@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 10 19:00:01 2026 UTC |
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 ==================================================