In this post you’ll learn how to setup LAMP Stack on Ubuntu and/or Debian in just 3 easy to follow steps. I’m not making the post fatter, thinner and filled with a lot of theory. I’ll just go straight forward towards the installation process. But if you want to learn a little bit of theory behind the seen then you must read my blog Understanding Root Directory, Testing PHP Engine and Installing PHP Extensions on Ubuntu after this post. For now, let’s get started!
First of all let’s define LAMP Stack for those of you who don’t know about it. LAMP Stacks means: “Storing/retrieving data in/from MySQL DBMS, on Linux Operating System, using PHP Server Side Scripting Language running on Apache Server”.
Installing PHP, Apache Server and MySQL seems to be very difficult and almost tiresome for the beginners and some times for average developers as well. But don’t worry we have a three in one like solution, the WAMP (Windows, Apache, MySQL, and PHP) Server. You just need to download WAMP Server and install it like other Windows Applications.
Don’t bother how to do all that, I’ve explained each and every step below. Just follow step by step instructions and you’ll end up with the installation of PHP, MySQL and Apache Server.
Step 2: Browsing the Local Server on your Web Browser
Now to make sure that the WAMP Server has been installed successfully follow the following steps.
Double click the WAMP Server icon on the desktop. You’ll see a new icon is added in your system tray which changes its color as give below:
- Orange to Red
- Red to Green