note 25979 deleted from function.imagecreatefromgd2 by didou
| From: | didou@php.net | Date: | Sat, 13 Jan 2007 20:45:45 +0000 |
| Subject: | note 25979 deleted from function.imagecreatefromgd2 by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-121604@lists.php.net to get a copy of this message | ||
Note Submitter: fiji at free dot fr
----
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