[nycphp-talk] gd on Unix
Daniel Convissor
danielc at analysisandsolutions.com
Wed Mar 24 00:39:16 EST 2004
On Tue, Mar 23, 2004 at 05:41:36PM -0800, Alan T. Miller wrote:
> Chances are you will also need to have installed libjpeg and libpng for PHP
> to compile with the '--with-gd' option.
Yep. And zlib.
Here's what it took for me to get a _minimal_ PHP 5 build with GD...
./configure --prefix=/path/to/install \
--with-gd --with-jpeg-dir=/usr/local --with-zlib-dir=/usr/local \
--without-pear --disable-ipv6 --disable-libxml --disable-ctype \
--disable-dom --disable-mbregex --disable-posix --disable-session \
--disable-simplexml --disable-spl --disable-tokenizer --disable-xml \
--disable-libtool-lock
--Dan
--
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
data intensive web and database programming
http://www.AnalysisAndSolutions.com/
4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409
More information about the talk
mailing list