Install phpmyAdmin host on Amazon EC2

Spread the love

Here we are performing phpMyAdmin host on Amzaon EC2 instance

, it is very simple like the other Linux box configuration .We can install and configure phpMyAdmin through download package and install it or install through yum global repositories. Here i have used remi repository for installing phpmyadmin package.If you want to install Remi, repository on your CentOS / RHEL / Fedora Box , you can check our article Configure Additional YUM Repositories for CentOs , Red Hat and Fedora

2. Now navigate to the configuration file “/etc/httpd/conf.d/phpMyAdmin.conf” and allow to open phpmyadmin to access outside the local environment. Do the entry like below to phpMyadmin allow to outside your local system.

Comment the line of IP , which have loop back address and insert your IP with required parameter like below .

(3) For MySQL configuration in phpMyAdmin We have a RDS instance for Database , So we need to modify mysql host in config.inc.php file , which will in /usr/share/phpmyadmin folder , if it will not available with that name , might be it will named as config.sample.inc.php then we need to create config.inc.php file and copy of content of sample file into it.