note 35690 added to ref.image
| From: | da_linuxguru at NOSPAM dot hotmail dot com | Date: | Thu, 11 Sep 2003 08:35:52 +0000 |
| Subject: | note 35690 added to ref.image | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-56057@lists.php.net to get a copy of this message | ||
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
----
Manual Page -- http://www.php.net/manual/en/ref.image.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+35690
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+35690&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+35690&report=yes