What is a Local Development Environment?
What is a LAMP Stack?
The LAMP stack is a software bundle, comprised of several open-source technologies, that enables programmers to develop web sites and web applications on their computers. Once the applications or web sites are ready, they can be deployed on a production server running the same technologies.
LAMP is an acronym comprised of the four open-source technologies used: L for the Linux Operating system, A for Apache HTTP Web Server, M for either MySQL or MariaDB relational database and P for either PHP or Python (and occasionally Perl) programming languages.
Linux is used as an operating system, upon which the rest of the technologies will be installed and executed. Apache web server is used to serve static or dynamic content to web clients such as web browsers (Chrome, FireFox, etc.). MySQL is used to store, access and manipulate data and PHP is used to create dynamic content that will be served by Apache via the HTTP protocol.
The stack can also be installed on computers running the Windows operating system (in that case it is usually referred to as WAMP) or Mac operating systems (commonly known as MAMP).
Make sure to watch the introductory video by CBT Nuggets below to learn more about the LAMP stack.
INSTALLATION
You can visit the following websites and install one of the bundles provided by each site:
- XAMPP Windows/Mac/Linux (Recommended)
- Popular cross-platform Apache/MariaDB/PHP/Perl stack
- WAMP for Windows
- MAMP for Mac (you can start with the free version)
You can also watch the following videos to guide you through the process of installing and configuring the stack:
REFERENCES
- Local development environment
- The 4 Best Local WordPress Development Environments
- LAMP (Software Bundle) at Wikipedia
FAQ
- Should I choose MySQL or MariaDB for my stack?
As MariaDB is very similar to MySQL database, both technologies can be used interchangeably. For example, popular CMS software such as Drupal, Joomla or WordPress can be configured to run using either of these database solutions.
(Read more about the story behind the MariaDB fork here)
Feedback
- Is there anything we can help with up to this point? Do you have something to suggest about this chapter? Let us know in the comments below.