LAMP is short for Linux, Apache, Mysql, PHP. This tutorial shows how you can install on Centos.
1. Installing Apache Webserver
yum install httpd
2. Installing Mysql
yum install mysql mysql-server
3. Installing php
yum install php php-command php-devel php-gd php-imap php-mysql php-pear php-soap php-xml
After that you need to start httpd and mysqld services that’s it.
To verify the lamp working or not create the below phpinfo page.
Enjoy!
