How To Install Linux, Apache, MySQL, PHP 5 (LAMP) on Ubuntu?

LAMP stands for:

L = Linux as the operating system platform.
A = Apache as the Web server
M = MySQL as the database server
P = PHP as the supportive language


In this tutorial, we are going to see how to setup/install LAMP server on Ubuntu 14.x. This tutorial will cover the installation of PHP 5.0, Apache & MySql 5.

1) Install Apache

2) Install MySql

3) Install PHP 5

4) Installing PDO driver on MySQL Linux server

5)How to enable curl, installed Ubuntu LAMP stack?

6)How to restart Apache?

As the last step, you will need to restart the apache service after the installation of Apache,  MySql, PHP, etc. Otherwise, you won’t be able to use the these installed software. Restart the Apache service using the following command:

You can Stop/Start/ Apache server

you can check Apache server current status

To check whether your apache server is currently running or stopped. Run following command in SSH terminal.

 

Leave a Reply