AlexR AlexR - 9 months ago 20
Linux Question

Installing phpMyAdmin on Amazon Linux

After installing phpMyAdmin on Amazon Linux using these commands...:

sudo yum --enablerepo=epel install phpmyadmin
sudo ln -s /usr/share/phpmyadmin /var/www/html/phpmyadmin

... I have tried the steps described in this tutorial (referred to in previous StackOverflow Answers), but do get the following error message after issuing the command

sudo chmod 0700 /etc/httpd/conf.d/phpmyadmin.conf
File or Directory not found

How can I get phpMyAdmin running on Amazon Linux?


You can install phpmyadmin rpm package by yum command to enabling epel repositories

yum --enablerepo=epel install phpmyadmin

You'll then have to change the phpMyAdmin config file to allow access from your IP.

Oh and you probably need to change your sudo command to be case sensitive. Double check your filename, but on my system it would be

sudo chmod 0700 /etc/httpd/conf.d/phpMyAdmin.conf