The Full Wiki

LAMP (software bundle): Wikis


Note: Many of our articles have direct quotes from sources you can cite, within the Wikipedia article! This article doesn't yet, but we're working on it! See more info or our list of citable articles.


From Wikipedia, the free encyclopedia

LAMP is an acronym for a solution stack of free, open source software, originally coined from the first letters of Linux (operating system), Apache HTTP Server, MySQL (database software), and PHP, Python or Perl (scripting language), principal components to build a viable general purpose web server[1].

The precise combination of software included in a LAMP package may vary, especially with respect to the web scripting software, as PHP may be replaced by Perl or Python.[2] Similar terms exist for essentially the same software suite (AMP) running on other operating systems, such as MS Windows (WAMP), Mac OS (MAMP), Solaris (SAMP), or OpenBSD (OAMP).

Though the original authors of these programs did not design them all to work specifically with each other, the development philosophy and tool sets are shared and were developed in close conjunction. The software combination has become popular because it is free of cost, open-source, and therefore easily adaptable, and because of the ubiquity of its components which are bundled with most current Linux distributions.

When used in combination they represent a solution stack of technologies that support application servers.



Michael Kunze coined the acronym LAMP in an article for the German computing magazine c't in April 1998.[3] The article aimed to show that a bundle of free software could provide a viable alternative to commercial packages. Knowing the IT-world's love of acronyms, Kunze came up with LAMP as a marketing-like term to increase the popularity of free software.[4] O'Reilly and MySQL AB have made the term popular among English-speakers.[5] Indeed, MySQL AB has since based some of its marketing efforts on the popularity of the LAMP stack.[6]

The scripting component of the LAMP stack has its origins in the Common Gateway Interface protocol that became popular in web servers in the early 1990s. This technology allows the user of a web browser to execute a program on the web server, and thereby receive dynamic as well as static content. Often programmers would use scripting languages such as Perl for these programs because of their ability to manipulate text streams from multiple sources easily and efficiently.

Software components

The LAMP stack is widely used because it offers a great number of advantages for developers:

  • Easy to code: Novices can build something and get it up and running very quickly with PHP and MySQL.
  • Easy to deploy: Since PHP is a standard apache module, it’s easy to deploy a PHP app. Once you’ve got MySQL running, simply upload your .php files.
  • Develop locally: It’s easy to set up LAMP on your laptop, build your app locally, then deploy on the Web.
  • Cheap and ubiquitous hosting: Even the cheapest Web hosts options allow you to run PHP and MySQL.


Linux is a Unix-like computer operating system kernel. Linux is an advanced version of unix with many more features. The main function of linux is security. Linux is open source which means the source code is provided with operating system; you can edit it according to your needs and can also update its drivers if you have good linux system programming knowledge. PHP is also open source so it installs on all operating system with its different versions


Apache is a free software/open source web server, the most popular in use.[7]


MySQL is a multithreaded, multi-user, SQL database management system (DBMS) with more than eleven million installations[8]. Since 16 January 2008, owned by Sun Microsystems[9][10], as of 20 April 2009, Oracle Corporation has agreed to purchase Sun Microsystems[11].

Perl, PHP, or Python

PHP is a reflective programming language originally designed for producing dynamic web pages. PHP is used mainly in server-side application software. Perl and Python can be used similarly.


The components for a LAMP server can be built and installed from source code, but this requires more effort and technical proficiency than other automated approaches such as installing them through a Linux distribution's package management system or deploying a ready-to-use TurnKey LAMP stack appliance which does not require any manual configuration or setup.

Variants and alternatives

With the growing use of LAMP, variations and retronyms appeared for other combinations of operating system, web server, database, and software language.

Windows alternatives to LAMP include WIMP and WAMP.

See also


  1. ^ Lee, James; Brent Ware (December 2002). Open Source Web Development with LAMP: Using Linux, Apache, MySQL, Perl, and PHP. Addison Wesley. ISBN 0-201-77061-X. 
  2. ^ Dale Dougherty (January 26, 2001). "LAMP: The Open Source Web Platform". ONLamp. 
  3. ^ c't 12/98, page 230 - Freeware Web Publishing System
  4. ^ The bird of the open source enterprise stack
  5. ^ OnLamp
  6. ^ MySQL and "LAMP" save $900K
  7. ^ "Market Shares for Top Servers Across All Domains August 1995 - April 2007". Retrieved 2009-09-15. 
  8. ^ Top Reasons for Product Managers to Embed MySQL on []
  9. ^ Robin Schumacher & Arjen Lentz Dispelling the Myths
  10. ^ Charles Babcock, InformationWeek Sun Locks Up MySQL, Looks To Future Web Development
  11. ^ Oracle in $7.4bn deal to buy Sun on BBC News (20-Apr-2009)

External links

Got something to say? Make a comment.
Your name
Your email address