I've managed to make php-5.1.4-gd and gd-2.0.34 work together (php with
its own gd and mapserver with the system one)! I think there are
compatibilities issues depending on the version used with each. As GD is
updated AFTER php-gd, I think one could use a gd version newer than the
php one. but still no imageresize in the standard gd. Weird.
Daniel Morissette a écrit :
Guillaume Sueur wrote:
One more thing : using the system gd library works well, but some gd
functions (imagerotate or imagelayereffect for example) requires php
to be build against embedded version of gd.
So, is there a way to build mapserver against php version of gd, or to
find the source of it to be able to build it as the system lib too ?
I believe the source is under php/ext/gd, but I don't know if the PHP
version of GD can be built as a standalone lib and used by external
programs. You could try and let us know.
BTW, GD has been brought back to life recently at http://libgd.org/
"under the umbrella of PHP.net" so they are definitely aware of the PHP
GD fork and there's hope that some of these new functions may be added
to future releases (or may be in the dev version, 2.1.0 in CVS HEAD?).
Daniel