Problems with GD library (gif) after upgrading to php4.0.3pl1
| From: | Eduardo Jordán G. | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Problems with GD library (gif) after upgrading to php4.0.3pl1 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-26635@lists.php.net to get a copy of this message | ||
Hi,
I just upgrade to php4.0.3pl1, my config is:
linux 6.2
apache 1.3.12
php4.0.3pl1 + Zend Optimizer v0.99
gd 1.2 (gif support)
Here is my php configure
'./configure' '--prefix=/usr/local/php' '--with-config-file-
path=/usr/local/php' '--with-apxs=/usr/local/apache/bin/apxs' '--with-
gd=/usr/gd1.2' '--with-mysql' '--with-imap' '--enable-track-vars'
phpinfo() shows:
GD Support enabled
GD Version 1.2
GIF Support enabled
Following code was working with php4.0.2
<?php
$im = ImageCreate(231,21);
$bgc = ImageColorAllocate($im,255,255,255);
$tc = ImageColorAllocate($im,0,0,0);
ImageFilledRectangle($im,0,0,150,30,$bgc);
ImageString($im,4,5,5,"Usuario no autorizado!",$tc);
ImageGif($im);
ImageDestroy($im);
?>
It's there a problem with php4.0.3pl and GD library???
Please reply directly since I am subscribed to digest mode
of this list.
Thanks!
-------------------
Eduardo Jordan
Webmaster - Impsat
-------------------------------------------------
Interactive si responde
Este mensaje fue enviado desde:
http://webmail.interactive.net.ec