note 15671 added to ref.image
| From: | cardinal@php.net | Date: | Tue, 25 Sep 2001 21:23:26 +0000 |
| Subject: | note 15671 added to ref.image | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-18302@lists.php.net to get a copy of this message | ||
GD-2.0.1 and PHP
0. Make sure you have libjpeg and libpng installed
1. Grab GD-2.0.1.
2. tar zxvf gd-2.0.1.tar.gz
3. cd gd-2.0.1
4. Edit the Makefile and change the LIBS line to be:
LIBS=libgd.a -lpng -lz -ljpeg -lfreetype -lm
5. make libgd.a (don't need to do a make install)
6. Now build PHP using these flags:
--with-gd=/home/<you>/gd-2.0.1
--with-freetype-dir=/usr
--enable-gd-native-ttf (for PHP 4.0.6 leave off trailing 'f')
--enable-gd-imgstrttf
--with-jpeg-dir=/usr
--with-png-dir=/usr
--with-zlib
--
http://www.php.net/manual/en/ref.image.php
http://master.php.net/manage/user-notes.php?action=edit+15671
http://master.php.net/manage/user-notes.php?action=delete+15671
http://master.php.net/manage/user-notes.php?action=reject+15671