How to INSTALL a LAMP stack.
TAGS: LAMP, WAMP, MAMP, stack, install, easy

In this blogposting I will install a LAMP stack.
If you already have MySQL and Apache with PHP running on your computer, then that is fine. You can skip this, and go to the following posts, where we will look at using PHP for handling a MySQL database.

The LAMP stack I use, is a download from, I use it because it's a very simple and easy way to do it. Fast.
You can also find a stack for Windows (WAMP) and for Mac (MAMP) on the same website. The installation is very similar, so you will gain from reading this post anyway.
The stack contains several programs, additions to PHP as you can see on the screenshot, number four, below. But in these blogs we will be looking closer at the Apache webserver, the MySQL database server, PHP serverside scripting language, and phpMyAdmin, the last being a manager for the MySQL database, running in your browser.
First we go to the bitnami site and download the LAMP stack here:

Okay, and now that you have downloaded that, then let us install it.
Find the downloaded file and double-click it. If your installer doesn't start, and if you are in Linux, then try right-click the file and choose “properties”. Here you choose the “Permission” tab, and tick the checkbox saying “Allow executing file as program”. Now try double-click the file again. This time the installer should start.
You will see something like this:

After the installation, you can find the directory where the stack is installed. This can be “/home/you/lampstack” depending on you choice during installation. Here is the file named “”, (for the 64bit Linux version). Double-clicking it will start the manager, and here you shall select the “Manage Servers” tab. You see MySQL and Apache in a listview. Just go and click at the bottom, on the button “Start All”. It will take a little while. Then the servers should get a green light, meaning they are running. If they fail, try starting them again.

If you can't get any contact to the stack in your browser after installing, and running the manager. Then try writing the URL with the port number 8080, like this;

So, now you have installed the stack we can start using it. You can put your webcontent in the webfolder, like here;


Browse into the MySQL pages on this blog, here you will learn to do great things with MySQL, using PHP.
First posting is about how to CREATE the Database and how to CREATE the table with columns, using PHP and SQL. Then we have a database and a table with five fields ready to write into, as you will learn to do in the following postings. If you follow my postings we will build a project, that is to be used throughout these pages, at least the pages about MySQL, using PHP.