PNG support in PHP-4.0.6 + GD
| From: | Cary Moretti | Date: | Tue, 24 Jul 2001 19:03:41 +0000 |
| Subject: | PNG support in PHP-4.0.6 + GD | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-3692@lists.php.net to get a copy of this message | ||
I've recently installed PHP-4.0.6 on my Linux server (with GD) and I
have had no trouble using the JPEG functions but I can't seem to get my
build to support PNG.
I get the following error:
Warning: ImagePng: No PNG support in this PHP build
I've tried both GD 2.0.1 and GD 1.8.4 but I get the same result with
both, JPEG works great but not PNG.
My config looks like this:
./configure \
--with-mysql=/usr/local/mysql \
--with-apxs=/usr/local/apache/bin/apxs \
--with-gd \
--with-gd-dir=/usr \
--with-jpeg-dir=/usr/local \
--with-png-dir=/usr/local \
--with-ttf \
--with-zlib
I've looked through all the posts from this year but no one else seems
to have had trouble with PNG support. It seems like most people are
having trouble with GD.
Any help would be appreciated.
____________________________________
Cary Moretti
"Sure I'm paranoid but am I paranoid enough?"