This article describes how to setup and install a LAMP server in LUBUNTU 14.04.
We have 4 steps:
Step 1:
Open a Command Line Terminal Window
type:
sudo apt-get install apache2 php5 mysql-server php5-mysql
This command installs apache2, php5 and Mysql-server as also as the communication interface between php5 and mysql (php5-mysql)
Step 3:
Enable PHP 5 by typing the command:
sudo a2enmod php5
Step 4:
Open a browser and type the address:
http://localhost
If your browser returns the "It works!" message , then U r ready to use your LAMP server.