LAMPS Tutorial

This tutorial is about the compilation, installation and configuration of a LAMPS server. It explains, among other things, the installation of Apache, Mod_Perl, PHP, Mod_SSL, MySQL, PostgreSQL and PDFLib, gives examples and shows how to test the components. The operating system is Linux. The LAMPS tutorial is intended for webmasters and web developers who want to set up a test system. These are the current versions:

LAMPS 2.0 for Apache 2.0.50, PDFLib 6.0.0p1, PHP 4.3.8 (new)

LAMPS 1.3 for Apache 1.3.27, PHP 4.3.1


The tutorials that I have found on the web never really installed what I needed and, therefore, I have written my own one.

Since I wanted to record the proceedings for my own purposes, it stood to reason that I publish them on the web. And, as I can see from my emails, it was helpful for some of you.

In case the LAMPS tutorial contains mistakes, I would appreciate a message to

I plan to add i.e. some PHP modules to the tutorial in the future, but since I am short on time it will take a while.



We do not make any warranty nor assume any legal liability or responsibility for the accuracy, completeness, or usefulness of any information provided on this website. So far, no problems regarding this tutorial were reported to us, but we can imagine that problems may occur with exotic distributions.



  • 16/07/2004 New Version v2.0.5, new packages and revised
  • 09/04/2003 New Version v2.0.4, new packages and revised
  • 03/19/2003 New v1.3.6 Tutorial with MySQL 4.0 support
  • 10/15/2002 New Version v1.3.5 online
  • 09/11/2002 New version v2.0.3, New versions of Apache,PHP,MySQL,SSL und PostgreSQL
  • 09/10/2002 New version v1.0.4, New versions of PHP,MySQL,SSL and PostgreSQL
  • 07/22/2002 New version v2.0.2, Update to OpenSSL 0.9.6e
  • 07/22/2002 New version v1.3.3, Update to OpenSSL 0.9.6e
  • 07/30/2002 Release of the english version
  • 07/28/2002 HowTos tested for Debian 3.0
  • 07/22/2002 New version v2.0.1, Update to PHP 4.2.2
  • 07/22/2002 New version v1.3.2, Update to PHP 4.2.2
  • 07/05/2002 New LAMPS 2.0 Tutorial
  • 07/02/2002 New version v1.3.1, Update to Apache 1.3.26
  • 06/24/2002 Integration of GD
  • 06/12/2002 Website relaunch
  • 05/24/2002 HowTo validated and revised
  • 03/28/2002 New Versions integrated
  • 10/22/2001 PDFLib integrated
  • 10/22/2001 New version numbers
  • 10/12/2001 Errors corrected (Thanks to Thomas Bieg)
  • 10/10/2001 Tutorial released as version 1.1b
  • 10/10/2001 Links section extended
  • 10/10/2001 PostgreSQL integrated
  • 10/04/2001 Tutorial completely rewritten



The content of this document may be reproduced on the web, provided that a copyright notice and straight HTML hyperlink to appear on the same page.

GmbH & Co. KG

Goethestraße 75
40237 Düsseldorf

Tel.: 0211 44 03 97-0
Fax: 0211 44 03 97-40