note 27636 deleted from ref.image by tularis
| From: | tularis@php.net | Date: | Sun, 29 Jun 2008 21:13:15 +0000 |
| Subject: | note 27636 deleted from ref.image by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-140983@lists.php.net to get a copy of this message | ||
Note Submitter: webmaster at wutallan dot net
----
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