Re: GD/Zlib install problems
| From: | Jürgen Schoch | Date: | Tue, 19 Mar 2002 09:58:03 +0000 |
| Subject: | Re: GD/Zlib install problems | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-6410@lists.php.net to get a copy of this message | ||
A workaround is compilation of php 4.1.2 as dynamic module (DSO) for apache:
First in apache :
make clean
./configure --enable-module=so
make
make install
Then in php:
make clean
./configure --with-apxs=/usr/local/apache1.3.23/bin/apxs \
--enable-track-vars \
--enable-force-cgi-redirect --enable-discard-path \
--enable-ftp --with-mysql --with-pgsql \
--with-gd=/usr/download/gd-1.8.4 \
--enable-gd-native-ttf \
--with-freetype-dir=/usr/local/include/freetype2 \
--with-zlib-dir=/usr/local/lib \
--with-png-dir=/usr/local/lib
make
make install
Jürgen Schoch