• LAMP is an acronym for Linux, Apache, MySQL, PHP /  Perl / Python
  • In a more general sense, can be referred to as a FOSS stack (a set of free and open-source software)
  • The term "FOSS stack" suggests an emphasis on combining a variety of FOSS software, rather than on the incidental first letter in the name of each piece of software
  • In general, the terms "LAMP" and "FOSS stack" refer to a web server that relies on software created and owned by the developer community at large


  • httpd - Apache web server
  • mysql - MySQL database server
  • postgres - PostgreSQL database server
  • php - PHP programming language
  • DBI - Perl database abstraction layer
  • DBD-mysql - Perl DBI driver for MySQL
  • DBD-pq - Perl DBI driver for PostgreSQL

Manual installation

Sample directories

  • /usr/local/apache
  • /usr/local/apache/modules   (DSO modules)
  • /usr/local/mysql
  • /usr/local/mysql/data   (databases)
  • /usr/local/mysql/lib/mysql   (libraries)
  • /usr/local/mysql/lib/mysql-static   (static libraries: *.a)
  • /usr/local/mysql/include/mysql
  • /usr/local/mysql/socket   (socket)
  • /usr/local/php

Configuration files

  • /usr/local/apache/conf/httpd.conf (Apache)
  • /etc/my.cnf (MySQL)
  • /usr/local/php/php.ini (PHP)


Parent URL: