Hi,
I'm trying to add support for the ImagePng command in PHP. I have PHP version 4.2.3 and I am configuring it with the following parameters:
./configure --with-mysql --with-apxs=/www/bin/apxs --enable-track-vars --with-gd=/usr/local/gd-1.8.4 --with-freetype-dir=/usr/l
ocal/freetype-2.1.2 --with-zlib-dir=/usr/local/zlib-1.1.4 --with-png-dir=/usr/local/libpng-1.2.5
The compilation works fine, and I've restarted the server etc. PHP reports that GD is linked in with freetype and WBMP support. No mention is made of PNG, but then I don't know if it would mention it.
When I try a script that uses the imagepng command I get the following error:
Call to undefined function: imagepng()
I've run the 'gddemo' program and that creates a Png without any problems.
Can anyone shed some light on the problem?
Thanks,
Tim