- Download and unpackage the source files:
$ cd /usr/local/src
$ wget http://www.ibiblio.org/pub/mirrors/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 - Preconfigure apache:
$ cd apache_1.3.41
$ make clean
$ ./configure - Configure, compile, install php:
$ 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/mysql \
--with-apache=../apache_1.3.41
$ make
# make install - Configure, compile, install apache:
$ ./configure \
--prefix=/usr/local/apache \
--enable-module=rewrite \
--enable-module=so \
--activate-module=src/modules/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