Question

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

Posted September 2, 2018 3.6k views
PHPUbuntu 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

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

Hi @mellona77,

I followed the article you mentioned to see where the issue might be experienced. Created a new Ubuntu server, installed Apache MySQL and PHP on it and then started going through the article of installation of phpMyAdmin.

I just went through Step 1 and tried my phpmyadmin.conf here

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

Everything was there.

Reading through the article, It’s possible you didn’t select Apache as the running Web Server:

Warning: When the first prompt appears, apache2 is highlighted, but not selected. If you do not hit Space to select Apache, the installer will not move the necessary files during installation. Hit Space, Tab, and then Enter to select Apache.

Can you please start the processes from the beginning and make sure you select apache2 on the prompt?

Regards,
KDSys

Submit an Answer