After googling few hour finally i find solution to configure PHPMyAdmin in Linux ec2 instance. Now in this post i explain you how to setup PHPMyAdmin in ec2 instance in simple steps. Please read my last post if you don’t know how to setup instance on AWS.

Before we start i revise all the step in short which we use to configure PHP and MySQL. I just paste command from Amazon Tutorial Blog please follow this link to read all commands in details.

Step 1. Download putty and login to server and update all packages using this command

Step 2. Install PHP and MySql using yum

Step 3. Start Apache

Step 4.  Verify that httpd is on by running the following command.

Step 5. Now open browser and type your Ip and you see your default Apache web server page.

Step 6. Set file permissions

Login back and verify the group

Change the group ownership var/www

Step 7. Start MySql Server and configure its setting

Now set its password and other setting

That it now all basic configuration is done.

Now Configuring PHPMyAdmin 

1. Download PHPMyAdmin from its official site.

2. After download connect to server with FTP client like filezilla and upload zip file to server at /var/www/html/.

3. Now extract file using command bellow

4. Now rename the  folder to phpmyadmin

5. Now open the browser :  <YOUR_IP>/phpmyadmin/setup/index.php

You need to add verbose name on this. please note you have to make config folder inside phpmyadmin folder and make it web writable and you change permission oft the folder, and follow instruction. If you get mbstring error please enter this command

All Done now you need to remove the config folder one config file is created. Now go to this link:  <YOUR_IP>/phpmyadmin and login.