How To Install PHP & MySQL On CentOS 5 VPS ( LAMP)

Hi today i am going to tell you about how to install LAMP in ur VPS (linux)

First you have to login via ssh (putty) . Than u have to put the commands that i am writing below.

For Installing Apache type or copy the cmd

For Installing MySQL Database Server:

For Installing PHP

Install phpMyAdmin

Now use this cmd for restarting the httpd

Then to make user u installed right way create a .php (test.php)(/var/www/html/test.php) file in ur vps then put

Then go to yourip/test.php

You can see a php configuration info’s .

Demo :