Linux Journal: Installing and Configuring Apache, PHP and MySQLJan 13, 2001, 14:34 (2 Talkback[s])
(Other stories by Ralph Krause)
"Recently, I was looking for a calendar system that would allow me to keep track of events, appointments, and project dates. Quite a few of the applications that I looked at were written in PHP and used a database to keep track of events. Since I had already planned on configuring an extra computer for use as a web server, I figured that it wouldn't be much more work to add PHP and MySQL to it. This article covers my experiences of installing all the components and getting everything running."
"The computer that I decided to make into my web server was an old 90 MHz Pentium computer with 40 MB of RAM and around a gigabyte of hard drive space, running Caldera's OpenLinux 2.3. I wanted to use the latest stable versions of Apache, PHP, and MySQL so I uninstalled the existing Apache package and downloaded the sources for Apache 1.3.12 and PHP 4.0.3 along with the binaries for MySQL 3.22.32."
"Since I was installing PHP 4 as a dynamic Apache module, Apache had to be installed before I installed PHP 4. MySQL also had to be installed before PHP. While Apache is installed by default in most Linux distributions, it may not support dynamic modules. To see if your version of Apache supports them, execute the command httpd -l which lists the modules that have been compiled into Apache. If mod_so.c appears in the list of modules then your Apache server can use dynamic modules. If it isn't in the list you can still use PHP, executed as a CGI program, or you can recompile Apache to support modules."