Jump to content

LAMP (software bundle): Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Reverted 1 edit by 117.196.168.2 (talk); WP:EL. (TW)
Line 79: Line 79:
* [http://wiki.debian.org/LaMp Install a LAMP server on Debian GNU/Linux]
* [http://wiki.debian.org/LaMp Install a LAMP server on Debian GNU/Linux]
* [http://en.opensuse.org/Linux_Apache_MySQL_PHP_Server_(lamp) Install a LAMP server on SUSE Linux]
* [http://en.opensuse.org/Linux_Apache_MySQL_PHP_Server_(lamp) Install a LAMP server on SUSE Linux]
* [http://techtalk.pipitlabs.com/install-apache-mysql-php-from-source Install LAMP on Linux]


{{Linux}}
{{Linux}}

Revision as of 07:22, 20 January 2011

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 Perl/PHP/Python, principal components to build a viable general purpose web server[1].


The exact combination of software included in a LAMP package may vary, especially with respect to the web scripting software, as PHP may be replaced or supplemented by Perl and/or Python.[2] Similar terms exist for essentially the same software suite (AMP) running on other operating systems, such as Microsoft 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 together, they form a solution stack of technologies that support application servers.

History

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 is easy to deploy LAMP web applications by uploading .php files to an Apache server and connecting to a MySQL database.
  • Develop locally: LAMP can be set up so an app can be built locally, then deployed to the Web.
  • Cheap and ubiquitous hosting: Many inexpensive web hosts provide PHP and MySQL services.[citation needed]

Linux

Linux is a Unix-like computer operating system kernel. A major emphasis of Linux development is security[citation needed], which makes it an appealing choice for a web-server application. Like the other LAMP components, Linux is free open-source software which means the source code is provided with operating system, which can be edited according to specific needs. Also, because Linux-based operating systems are Unix-like, a Linux server is more natively-compatible with other server-oriented platforms, such as Solaris and BSD, than non-Unix-like systems like Microsoft Windows.

Apache

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

MySQL

MySQL is a multithreaded, multi-user, SQL database management system (DBMS) now owned by Oracle Corporation with more than eleven million installations.[8]

MySQL has been owned by Oracle Corporation since April 20, 2009 through the purchase of Sun Microsystems.[9][10] Sun had acquired MySQL originally on January 16, 2008.

PHP, Perl, 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.

Variants and equivalents on other platforms

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

The equivalent installation on a Microsoft Windows operating system is known as WAMP with an alternative called WIMP.

The equivalent installation on a Macintosh operating system is known as MAMP.

The equivalent installation on a Solaris operating system is known as SAMP.

The equivalent installation on a FreeBSD operating system is known as FAMP.

See also

References

  1. ^ Lee, James (2002). Open Source Web Development with LAMP: Using Linux, Apache, MySQL, Perl, and PHP. Addison Wesley. ISBN 0-201-77061-X. {{cite book}}: Unknown parameter |coauthors= ignored (|author= suggested) (help); Unknown parameter |month= ignored (help)
  2. ^ Dale Dougherty (January 26, 2001). "LAMP: The Open Source Web Platform". ONLamp.
  3. ^ c't 12/98 Archived 2007-12-12 at the Wayback Machine, page 230 - Freeware Web Publishing System
  4. ^ The bird of the open source enterprise stack
  5. ^ OnLamp, 2001/01/25
  6. ^ MySQL and "LAMP" save istockphoto.com $900K
  7. ^ "Market Shares for Top Servers Across All Domains August 1995 - April 2007". News.netcraft.com. Retrieved 2009-09-15.
  8. ^ Top Reasons for Product Managers to Embed MySQL on [mySQL.com]
  9. ^ Robin Schumacher & Arjen Lentz Dispelling the Myths
  10. ^ Charles Babcock, InformationWeek Sun Locks Up MySQL, Looks To Future Web Development