Re: Fw: [PHP-DEV] PHP 4.0.4RC3 released
| From: | Hartmut Holzgraefe | Date: | Sun, 03 Dec 2000 00:03:28 +0000 |
| Subject: | Re: Fw: [PHP-DEV] PHP 4.0.4RC3 released | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-39871@lists.php.net to get a copy of this message | ||
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@tgpsolutions.com>
> To: <php-dev@lists.php.net>
> 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@six.de http://www.six.de
+49-711-99091-77