-
Download and unpackage the source files:
$ cd /usr/local/src
$ wget http://www.ibiblio.org/pub/mir rors/apache/httpd/apache_1.3.4 1.tar.gz
$ wget http://us2.php.net/get/php-4.4 .8.tar.gz/from/us.php.net/mirr or
$ tar -xvzf apache_1.3.41.tar.gz
$ tar -xvzf php-4.4.8.tar.gz
$ cd apache_1.3.41
$ make clean
$ ./configure
$ cd ../php-4.4.8
$ make clean
$ ./configure \
--with-gd \
--with-jpeg-dir \
--with-png-dir \
--with-zlib-dir \
--with-freetype \
--with-freetype-dir=/usr/lib \
--enable-gd-native-ttf \
--enable-memory-limit \
--with-ldap \
--with-mysql=/usr/local/mysq l \
--with-apache=../apache_1.3. 41
$ make
# make install
$ ./configure \
--prefix=/usr/local/apache \
--enable-module=rewrite \
--enable-module=so \
--activate-module=src/module s/php4/libphp4.a
$ make
# make install
Notes:
dotProject requires freetype for gnatt charts.
Do a stop and start of apache.
- wizap's blog
- Login or register to post comments