note 35690 deleted from ref.image by betz
| From: | betz@php.net | Date: | Sat, 04 Jun 2005 11:19:43 +0000 |
| Subject: | note 35690 deleted from ref.image by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-89905@lists.php.net to get a copy of this message | ||
Note Submitter: da_linuxguru at NOSPAM dot hotmail dot com
----
Installing Php with GD support
Packages Needed:
GD
zlib
libjpeg-6b
Php
Installing GD
a) ./configure
b) gmake, gmake install
Installing Zlib
a) ./configure --shared
b) gmake, gmake install
Installing Libjpeg-6b
a) ./configure --enable-shared
b) gmake, gmake install
Assuming your apache installation is in the directory /www
Installing Php
./configure --with-apxs2=/www/bin/apxs --with-mysql --prefix=/www/php
--with-config-file-path=/www/php --enable-track-vars --disable-cgi --with-gd=/usr/local
--with-jpeg-dir=/usr/local
Finally, I had problems while compiling php ver 4.3.2 and 4.3.3 bot with the same problem related to
a function in the file phpsourcedir/ext/gd/gd.c called Imagecache seomthing... I had to comment this
line and then all went fine, however the tumbnails that I am still gettting are 256 colors only.
-Dhaval