note 27636 added to ref.image
| From: | webmaster at wutallan dot net | Date: | Fri, 13 Dec 2002 17:47:25 +0000 |
| Subject: | note 27636 added to ref.image | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-40869@lists.php.net to get a copy of this message | ||
Installing PHP with GD2 support on a system running Debian Woody is quite easy. You just need to
install the deb packages of the libs, including the -dev packages. Do this with one apt-get command:
apt-get install libgd2 libgd2-dev libjpeg62 libjpeg62-dev libpng2 libpng2-dev libfreetype6
libfreetype6-dev
(libpng depends on zlib, so it will automatically be installed)
Having those libs installed, add this to your PHP configure command:
--with-gd --with-jpeg-dir=/usr/lib --with-png-dir=/usr/lib --with-freetype-dir=/usr/lib
--with-zlib-dir=/usr/lib
--
http://www.php.net/manual/en/ref.image.php
http://master.php.net/manage/user-notes.php?action=edit+27636
http://master.php.net/manage/user-notes.php?action=delete+27636
http://master.php.net/manage/user-notes.php?action=reject+27636