Date: 02/20/00
- Next message: Mark Lo: "[PHP-DEV] Assign Database values as an Array???"
- Previous message: Mark Lo: "[PHP-DEV] Passing variables into sereval pages"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: aka <email protected>
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
==================================================
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Mark Lo: "[PHP-DEV] Assign Database values as an Array???"
- Previous message: Mark Lo: "[PHP-DEV] Passing variables into sereval pages"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

