Install phpmyadmin on Amazon Linux

After installing phpMyAdmin using these commands on Amazon Linux…:

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 (referenced in previous StackOverflow Answers), But after issuing the command, I get the following error message

sudo chmod 0700 /etc/httpd/conf.d/phpmyadmin.conf: Cannot find file or directory.

How to use Amazon Linux To run phpMyAdmin?

You can use yum command to install phpmyadmin rpm package to enable epel repository

yum --enablerepo=epel install phpmyadmin

Then, you must change the phpMyAdmin configuration file to allow access from your IP.

Oh, you may need to change the sudo command to be case sensitive. Double check your file name, but on my system it will

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

After installing phpMyAdmin using these commands on Amazon Linux…:

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

…I have tried the description in this tutorial (Quoted in the previous StackOverflow Answers), but after issuing the command I get the following error message

sudo chmod 0700 /etc/httpd/conf.d/phpmyadmin.conf: Cannot find file or directory .

How to run phpMyAdmin on Amazon Linux?

You can install phpmyadmin rpm package via yum command to enable epel repository

yum --enablerepo=epel install phpmyadmin

Then, you must change the phpMyAdmin configuration file to allow access from your IP.

Oh, you may need to change the sudo command to be case sensitive Write. Double check your file name, but on my system it will

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

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 1906 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.