Hentede de nyeste tar.gz fra henholdsvil sunsite.dk (apache og mysql) og php.net
tar xvfz filnavne...
MySQL:
1) ./configure --prefix=/pack
2) make
3) make install
PHP:
1) libxml var installeret i en gammel version som php ikke kunne lide... hentede en ny som rpm (også devel) hos
ftp://ftp.gnome.org/pub/GNOME/stable/redhat/i386/libxml/2) rpm -e libxml
3) rpm -Uhv libxml2-2.4.21-1.i386.rpm
4) rpm -Uhv libxml2-devel-2.4.21-1.i386.rpm
5) cd apache-dir
6) ./compile
7) cd php-dir
8) ./configure --prefix=/pack/php-4.2.0 --with-apxs=/pack/apache/bin/apxs --with-config-file-path=/etc --disable-debug --enable-pic --disable-rpath --enable-inline-optimization --with-bz2 --with-db3 --with-dom --with-gd --with-gdbm --with-gettext --with-jpeg-dir=/usr --with-mm --with-png --with-regex=system --with-ttf --with-zlib --with-layout=GNU --enable-debugger --enable-ftp --enable-magic-quotes --enable-safe-mode --enable-sockets --enable-sysvsem --enable-sysvshm --enable-track-vars --enable-yp --enable-wddx --with-mysql=/pack/mysql --without-unixODBC --without-oracle --without-oci8 --with-xml--enable-bcmath
9) make
10) make install
Apache:
1) ./configure --prefix=/pack/apache-1.3.23 --activate-module=src/modules/php4/libphp4.a --enable-module=rewrite --enable-module=log_agent --enable-module=log_referer --disable-module=userdir --enable-shared=max
2) make
3) make install
4) opsætning af httpd.conf