LAMP is the abbreviation of Linux, Apache, MySQL, PHP. In this article I’ll try to explain how you can install an Apache2 webserver on a CentOS 6.3 server with PHP5 support (mod_php) and MySQL support. This approach should work if you start from scratch, i.e., the server has only CentOS 6.3 installed and nobody ever tried to install or configure LAMP!
Caution! This article is meant for those who rarely have to work on such projects when no expert advice / support available! By no means this should be used by any Linux Pro.
Introduction
While deploying Centos 6.3 onto the server please put hostname as localhost, and don’t bind the server to any particular IP address.