apache and php module this assumes mysql is already installed and running 1/ prepare your system # groupadd httpd # useradd -g httpd -d /usr/local/apache -s /bin/nologin -c "httpd server" httpd 2/ prepare your source $ mkdir web $ cd web $ wget http://mirrors.ccs.neu.edu/Apache/dist/httpd/apache_1.3.22.tar.gz $ wget "http://www.php.net/do_download.php?download_file=php-4.0.5.tar.gz&source_site=fr.php.net" $ tar xzvf apache_1.3.22.tar.gz $ tar xzvf php-4.0.5.tar.gz 3/ compile apache $ cd apache_1.3.22 $ sh configure --prefix=/usr/local/apache --enable-module=so --server-uid=httpd --server-gid=httpd $ make $ su password: # make install 4/ compile the php module # exit $ cd ../php-4.0.5 $ sh configure --prefix=/usr/local/php4 --with-apxs=/usr/local/apache/bin/apxs --with-mysql --enable-safe-mode $ make $ su password: # make install 5/ config httpd.conf # vi /usr/local/apache/conf/httpd.conf ^^ or whatever editor you like setup port 80 and not port 8080 find the DirectoryIndex and add index.php -> "DirectoryIndex index.php index.html" 6/ start apache # /usr/local/apache/bin/apachectl start