LAMP (Linux, Apache, MySQL and PHP) is an open source Web development platform that uses Linux as operating system, Apache as the Web server, MySQL as the relational database management system and PHP as the object-oriented scripting language.
Configuring LAMP server in your local Ubuntu machine is much helpful if you are web developer, own a PHP, MYSQL based website such as WordPress. You can develop or alter a website in local server and test it’s functionality before using a live server.
Installation:
Open terminal (Ctrl+Alt+T) or using dash and use below command.
sudo apt-get install tasksel
Now, use the below command to install LAMP
sudo tasksel
Select LAMP server from list(Use arrow, Tab and Enter keys for navigation and selection).

During installation, you will be prompted with the root password for MySQL.

Check PHP functionality of the server by creating a test page in web directory using below commands.
sudo gedit /var/www/info.php
and type below PHP statements
<? phpinfo(); ?>
The installed LAMP server can be accessed using the link http://localhost and the created PHP page as http://localhost/test.php








