note 25979 added to function.imagecreatefromgd2
| From: | fiji at free dot fr | Date: | Mon, 14 Oct 2002 09:50:12 +0000 |
| Subject: | note 25979 added to function.imagecreatefromgd2 | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-38041@lists.php.net to get a copy of this message | ||
I had to made some modification to enable and compile gd2.0.1 with php4.2.3 here it is:
get and untar gd2.0.1 beta
if your server as mine doesn't have any X support or you don't want it, open Makefile to
disable xpm support, find "gdxpm.o" in lines and delete it (because even if you
don't ask for it in libs cmd it will compile in and you'll get an error when loading
requesting libXpm)
remove any libgd1.so.xx
"make install"
in php goto ext/gd dir
modify gd.c and add "#define HAVE_LIBGD20 1" at the beginning
compile (don't forget giving the --with-jpeg-dir and png too), install and it should works
--
http://www.php.net/manual/en/function.imagecreatefromgd2.php
http://master.php.net/manage/user-notes.php?action=edit+25979
http://master.php.net/manage/user-notes.php?action=delete+25979
http://master.php.net/manage/user-notes.php?action=reject+25979