sudo nano /etc/apache2/conf-available/phpmyadmin.conf is empty

September 2, 2018 1.3k views
PHP Ubuntu 16.04

Hello DO members,

I am a beginner and working on securing my phpMyAdmin with following this tutorial https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-on-ubuntu-16-04.

I can see the login page mywebsite.com/phpmyadmin , but phpmyadmin.conf is empty page when I input the below command on terminal.

sudo nano /etc/apache2/conf-available/phpmyadmin.conf

Please let me know how to figure out this issue.
Thank you.

2 comments
  • Heya,

    You should never use the /phpmyadmin path as it's going to get bruteforced.

    As for the config file, it should be under /etc/phpmyadmin as far as i remember.

  • My phpmyadmin.conf t is under /etc/dbconfig-common/phpmyadmin.conf and empty.

Be the first one to answer this question.