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

I can see the login page , 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.

  • 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.