Re: Fw: [PHP-DEV] PHP 4.0.4RC3 released From: Hartmut Holzgraefe (hartmut <email protected>)
Date: 12/02/00

Jon Tai wrote:
>
> Ooops, looks like I spoke a bit too soon... image functions seem to be
> broken.
>
> The following code (from the PHP manual):
>
> <?PHP
>
> error_reporting(E_ALL);
>
> header ("Content-type: image/png");
> $im = ImageCreate (50, 100)
> or die ("Cannot Initialize new GD image stream");
> $background_color = ImageColorAllocate ($im, 255, 255, 255);
> $text_color = ImageColorAllocate ($im, 233, 14, 91);
> ImageString ($im, 1, 5, 5, "A Simple Text String", $text_color);
> ImagePng ($im);
>
> ?>
>
> prints:
>
> <br>
> <b>Fatal error</b>: Call to undefined function: imagecreate() in
> <b>/home/httpd/temp/chart.php</b> on line <b>6</b><br>
>
> - Jon
>
> ----- Original Message -----
> From: "Jon Tai" <jon <email protected>>
> To: <php-dev <email protected>>
> Sent: Saturday, December 02, 2000 7:38 AM
> Subject: Fw: [PHP-DEV] PHP 4.0.4RC3 released
>
> Compiled from source on RedHat Linux 6.1 (i386) with the following config
> line and had no problems.
>
> './configure' '--with-apache=../apache_1.3.14' '--enable-track-vars'
> '--enable-trans-sid' '--enable-ftp' '--disable-debug'
> '--with-pgsql=../postgresql-7.0/src' '--with-mcrypt=/usr/local'
 
if your were still using the configure line from your original message
this is exactly what i would expect

no '-with-gd[=...]' => no image_*() functions

-- 
Hartmut Holzgraefe  hartmut <email protected>  http://www.six.de  +49-711-99091-77

-- 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>