Linux Slackware + Apache2 + PHP + mod_fastcgi

This tutorial assumes that you are already familiar with Slackware Linux and Apache2.

Before you start, make sure you have a working httpd.conf of Apache2 because a detailed configuration is not included in this tutorial. Then, remove the installed packages of Apache2 and PHP using Slackware’s pkgtool.

Go to Apache website and get the latest version of Apache2. In this tutorial I’m using Apache-2.2.9:

cd /usr/local/src
wget http://www.eu.apache.org/dist/httpd/httpd-2.2.9.tar.gz

Go to PHP website and get the latest version of PHP5. In this tutorial I’m using PHP-5.2.6

wget http://www.php.net/get/php-5.2.6.tar.gz/from/de.php.net/mirror

Read more