How to install PHPMyAdmin in Amazon EC2 Linux

Logged into the server using putty

1) Go to apache folder:

cd /var/www/html

2) Download the latest version phpmyadmin

wget https://files.phpmyadmin.net/phpMyAdmin/4.6.6/phpMyAdmin-4.6.6-all-languages.zip

Note: By time of writing, 4.6.6 is the latest version. You can get the latest version in https://www.phpmyadmin.net/downloads/

3) Unzip the downloaded files

unzip phpMyAdmin-4.6.6-all-languages.zip

4) Rename the folder

mv phpMyAdmin-4.6.6-all-languages/phpMyAdmin-4.6.6-all-languages

5) Remove the zip file

rm -rf phpMyAdmin-4.6.6-all-languages.zip

Now you can access the phpmyadmin by http://yourwebsite.com/phpmyadmin

Related posts