Re: PNG support for PHP-4.0.6 + GD
| From: | Rasmus Lerdorf | Date: | Wed, 25 Jul 2001 00:21:40 +0000 |
| Subject: | Re: PNG support for PHP-4.0.6 + GD | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-3696@lists.php.net to get a copy of this message | ||
Perhaps your GD library was not built with PNG support?
On Tue, 24 Jul 2001, Cary Moretti wrote:
> 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?"
>
>
>