What is a LAMP stack?
LAMP is an open source Web development platform that uses Linux as the operating system, Apache as the Web server, MySQL as the relational database management system and PHP as the object-oriented scripting language. Because the platform has four layers, LAMP is sometimes referred to as a LAMP stack.
- Linux: The operating system. Linux is a free and open source operating system (OS). It is popular because it offers more flexibility and configuration options than some other operating systems. (simonsezit.com)
- Apache: The web server. The Apache web server processes requests and serves up web assets via HTTP so that the application is accessible to anyone in the public domain over a simple web URL.
- MySQL: The database. MySQL is an open source relational database management system for storing application data. With MySQL, you can store all your information in a format that is easily queried with the SQL language.
- PHP: The programming language. The PHP open source scripting language works with Apache to help you create dynamic web pages. You cannot use HTML to perform dynamic processes such as pulling data out of a database.
LAMP has a classic layered architecture, with Linux at the lowest level. The next layer is Apache and MySQL, followed by PHP. Although PHP is nominally at the top or presentation layer, the PHP component sits inside Apache.
For more information about LAMP stack, visit https://www.ibm.com/cloud/learn/lamp-stack-explained.