91

What does the term LAMP Stack mean?

I have seen this reference in job postings, but I don't fully understand the meaning of it.

I feel like in my development I use LAMP fairly commonly, but when I hear "stack" I feel like I am not using a LAMP environment as I should be.


I know what LAMP means and just wanted to know what the term "stack" tacked on meant.

Peter Mortensen
  • 28,342
  • 21
  • 95
  • 123
Eli
  • 4,150
  • 5
  • 41
  • 74

11 Answers11

144

The reason they call it a stack is because each level derives off its base layer. Your operating system, Linux, is the base layer. Then Apache, your web daemon sits on top of your OS. Then your database stores all the information served by your web daemon, and PHP (or any P* scripting language) is used to drive and display all the data, and allow for user interaction.

Don't be overly concerned with the term 'stack'. People really just mean software suite or bundle, but you're using it just fine I am sure as you are.

Peter Mortensen
  • 28,342
  • 21
  • 95
  • 123
Authman Apatira
  • 3,874
  • 1
  • 22
  • 33
  • Here is short guide to LAMP stack. helped me a lot. https://medium.com/@codingmonk.tech/setting-up-lamp-on-digital-ocean-in-5-minutes-9b6984414c50 – Hiren Kavad Dec 18 '18 at 14:40
41

Linux operating system

Apache web server

MySQL database

and PHP

Reference: LAMP (software bundle)

The "stack" term means stack! That means if you have experience in working with these technologies/framework or not. Since all these come together in a LAMP package, which you can download and install, they call it a stack.

Peter Mortensen
  • 28,342
  • 21
  • 95
  • 123
Shyju
  • 197,032
  • 96
  • 389
  • 477
30

That simply means using Linux, Apache, MySQL and PHP as your operating system, web server, database, and programming language, respectively.

Peter Mortensen
  • 28,342
  • 21
  • 95
  • 123
Eric J.
  • 139,555
  • 58
  • 313
  • 529
  • thank you, I thought it might of meant the process of creating cron jobs or other processing scripts via a linux install – Eli Apr 08 '12 at 04:11
14

LAMP means: L = Linux (OS) A = Apache (web server) M = MySQL (database) P = PHP (language)

From LAMP (Wikipedia):

Short for Linux, Apache, MySQL and PHP, an open-source Web development platform, also called a Web stack, that uses Linux as the operating system, Apache as the Web server, MySQL as the RDBMS and PHP as the object-oriented scripting language. Perl or Python is often substituted for PHP.

Peter Mortensen
  • 28,342
  • 21
  • 95
  • 123
efarid08
  • 183
  • 1
  • 4
10

For anyone still looking into this in order to learn specifically what a stack is, the term "stack" is referring to a "solution stack." A solution stack is simply a complete set of software to address a given problem, usually by combining to provide the platform or infrastructure necessary. This term is the parent of both "server stack" and "web stack." Accordingly, a LAMP stack is a specific and complete set of software specifically aimed at serving dynamic content over the web.

Some extra reading:

https://www.techopedia.com/definition/28154/solution-stack https://en.wikipedia.org/wiki/Solution_stack

mesertes
  • 326
  • 2
  • 6
6

To be precise and crisp

LAMP is L(Linux) A(Apache) M(Mysql) P(PHP5) is a combined package intended for web-application development.

The easiest way to install Lamp is as follows

1) Using tasksel

Below are the list of commands

sudo apt-get update sudo apt-get install tasksel sudo tasksel ( will give you a prompt check the LAMP server and select Ok)

Thats it LAMP is ready to glow your knowledge.

sree kalyan
  • 61
  • 1
  • 2
2

Lamp stack stands for Linux Apache Mysql PHP

there is also Mean Stack MongoDB ExpressJS AngularJS NodeJS

WESAM TAHA
  • 95
  • 7
2

Linux, Apache, MySQL and PHP. free and open-source software. For example, an equivalent installation on the Microsoft Windows family of operating systems is known as WAMP. and for mac as MAMP. and XAMPP for both of them

amir
  • 31
  • 2
2

L for Linux operating system A for apache web server M for Mysql database p for php for scripting and php modules

We can host php programs and cgi programs in LAMP system.

eg: In ubuntu apt-get install apache2 for web server apt-get install mysql-server php5-mysql for database and php apt-get install php5 and got to your web server http://localhost

1

I’ll try to answer the actual question of what a stack is.

In the Internet architecture (TCP/IP, OSI, etc.), protocols and software are often “stacked” on top of each other, as they depend on each other for support. For example, TCP provides reliable transmissions of data, on top of IP. The same goes for LAMP, your Apache server needs to run “on top of Linux”. Think of this “stack” as your favorite stack of pancakes, where each pancake is a different layer.

LAMP pancake stack

Yummy.

Peter Mortensen
  • 28,342
  • 21
  • 95
  • 123
Andy
  • 2,300
  • 22
  • 24
1

There are various technological stacks present. Have a look:

LAMP:

Linux
Apache
MySQL
PHP

WAMP:

Windows
Apache
MySQL
PHP

MAMP:

Mac operating system
Apache web server
MySQL as database
PHP for scripting

XAMPP:

X is cross-platform
Apache
MySQL
PHP
Perl

MEAN:

MongoDB
Express.js
Angular
Node.js

MERN:

MongoDB
Express.js
React
Node.js

Peter Mortensen
  • 28,342
  • 21
  • 95
  • 123
Nandan Pandey
  • 138
  • 1
  • 10