How to enable PNG support ?
| From: | Peter Buecken | Date: | Sat, 09 Mar 2002 21:01:35 +0000 |
| Subject: | How to enable PNG support ? | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-6303@lists.php.net to get a copy of this message | ||
Hi
I'm upgrading PHP from version 4.0.1 to 4.1.2.
On 4.0.1, PNG support is enabled :-)
Using the same config.nice batch job, on 4.1.2, PNG support is
disabled. :-(
Can someone kindly give me a hint how to enable the PNG support ???
Thank you in advance.
Here the phpino message I get calling a script with the 4.1.2 build:
gd
GD Support enabled
GD Version 1.6.2 or higher
FreeType Support enabled
FreeType Linkage with TTF library
WBMP Support enabled
zlib
ZLib Support enabled
'zlib:' fopen wrapper enabled
Compiled Version 1.1.3
Linked Version 1.1.3
Calling Image-PNG-functions, the script says:
No PNG support in this PHP build.
Here's the config.nice job:
#! /bin/sh
'./configure' \
'--enable-track-vars' \
'--enable-magic-quotes' \
'--with-mysql' \
'--enable-tran--enable-calendar' \
'--with-gd' \
'--with-png-dir=/usr/lib' \
'--with-zlib-dir=/usr/lib' \
'--with-ttf=yes' \
"$@"
I tried this job with and without --with-png-dir and --with-zlib-dir
options.
Thank you again in advance,
cheers
Peter