Report this

What is the reason for this report?

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

Posted on September 2, 2018

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.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.