How to compile PHP 4.3.1 with JPEG Support
| From: | Andreas Cahen | Date: | Mon, 05 May 2003 08:38:32 +0000 |
| Subject: | How to compile PHP 4.3.1 with JPEG Support | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-10803@lists.php.net to get a copy of this message | ||
Hi there :)
I managed to install PHP 4.3.1 and it's working fine, except for the
jpeg support. I have downloaded and installed the jpeg library 'jpeg-6b'
and the latest GD Library 'gd-2.0.12' and FreeType 2. But while
compiling the PHP Package I always get different errors.
I tried it a couple-o-times with different settings, but I always ended
up having only support for PNG Files.
This is my configure string:
./configure --prefix=/usr --with-apxs=/usr/sbin/apxs --enable-safe-mode
--with-config-file-path=/etc/httpd/ --with-exec-dir=/usr/bin --with-zlib
--enable-magic-quotes --with-regex=system --with-pear --enable-calendar
--with-gd=/usr/src/gd-2.0.12 --with-iconv --disable-debug --with-gettext
--with-ttf=/usr/lib/libttf.so --enable-mbstring --with-interbase=shared
--with-mysql=shared --with-pgsql=shared --with-jpeg
--with-jpeg-dir=/tmp/jpeg-6b --with-png=/usr/local/lib
Any advices, hints or clues?
Thanks in advance!
Andreas Cahen