Home Linux HTML/CSS PHP React VR Blog T-Shirt Shop PHP Fiddle

Intro to LAMP: What is LAMP?

Watch the video tutorial for this lesson:

Intro to LAMP

Check out my blog:

Coding Commanders Blog

Linux/LampWhat is LAMP Stack?

In this lesson, you will learn about LAMP and its components.

What is LAMP?

LAMP is a software stack used for web development. A software stack includes everything needed to support an application. A web development stack must include:
✶ Operating System
✶ Server
✶ Database
✶ Programming Language


Linux is an operating system. An operating system manages the interaction between a device's hardware and software. Windows and OS X are two commonly used operating systems. Linux is a Unix family operating system.

Unix is a multitasking operating system that is designed to be used by multiple users. Businessess often need several users, with different permissions, working on the same operating system. A lot of programming is done on Unix family operating systems. Linux is the most popular.

Linux is also open source. That means the source code is avilable to you. This makes Linux free and customizable. There are many versions of Linux. In this tutorial, we will use Ubuntu Server.

Learning Linux will make you a more marketable programmer.


Apache is the most popular web server software. It is also open source.

Design, Develop, and Deploy Apps on GCP. Build secure, scalable, and intelligent cloud-native applications.

A web server uses HTTP (Hypertext Transfer Protocol) to transfer data around the web. HTTP are the rules to do so.

Basically this is how it works. Information for a web site is stored on the server. When a user types a web address it sends a request to the server. The server will process that request and get the page's stored information. Then it serves the page to the user.


MySQL is a database. A database stores information. For example, someone writing web development tutorials might store paragraphs, like you are reading right now, in a database. Databases also store user input. For example, if you fill out an online job application, the information you submit is probably stored in a database.

MySQL is an open source relational database management system that uses SQL (Structured Query Language).

You can think of a MySQL database as being simular to an Excel spread sheet. There are columns and rows which make up indivual data entries (like cells in a spreadsheet).


PHP is a programming lanuage. It is a scripting language, so it does not have to be compiled.

PHP is also a server side language. That means the code executes on the server and not on the user's computer. It can be used to talk to the database and to write your application's logic. Logic is the code that actually makes your application work.

Cisco Learning Network Store

Looking for a more indepth explaination?

Watch the video below:

Color Selector



If you find my tutorials helpful, please consider donating to support my free web development resources.

The more money I raise, the more content I can produce.

Thank you,
Commander Candy