LAMP-Stack is the collective name for Linux, Apache, MySQL (nowadays often MariaDB) and PHP. The term ‘Stack’ refers to the layered structure of this collection, in which Linux forms the basis, Apache and MariaDB form the layer above that layer and PHP serves as the top layer.
This software collection is used to host dynamic websites and web applications. Individually these components have the following functions:
- Linux: The operating system on which your server runs, such as Ubuntu, Debian, or CentOS.
- Apache: The Apache Web Server is a program that allows you to host websites on a server. This includes website content such as text, images, etc. Clients who visit a website (usually a browser on your computer, such as Chrome), get that content provided by the webserver, in this case, Apache.
- MySQL: MySQL is a relational database management system, or more simply: a system to host databases on a server. In practice, you will often encounter MariaDB (an open-source database server that is derived from MySQL) instead of MySQL.
- PHP: PHP is a scripting language that is (usually) used to create static or dynamic websites and web applications. In addition to PHP, other scripting languages are often used such as Javascript, Perl, and Ruby.
Installing a LAMP Stack
In our Knowledge Base, we explain how to install a LAMP Stack. We have the following documentation available for the following OSs:
Ubuntu 16.04
- Installing an Apache server (with PHP support)
- Using SSL with Apache
- Installing a MariaDB server
- Installing phpMyAdmin
Ubuntu 18.04 & 20.04
- Installing an Apache server (with PHP support)
- Using SSL with Apache
- Installing a MariaDB server
- Installing phpMyAdmin
Debian 9
- Installing an Apache server (with PHP support)
- Using SSL with Apache
- Installing a MariaDB server
- Installing phpMyAdmin
CentOS 7
- Installing an Apache server (with PHP support)
- Using SSL with Apache
- Installing a MariaDB server
- Installing phpMyAdmin
Should you have any questions left regarding this article, do not hesitate to contact our support department. You can reach them via the ‘Contact Us’ button at the bottom of this page.