Cannot access phpMyAdmin via web on Ubuntu 16.04

Posted September 11, 2018 2.1k views
PHPUbuntu 16.04

I follow this tutorial to install my phpmyadmin like

sudo apt-get update
sudo apt-get install phpmyadmin php-mbstring php-gettext
(has been selected Apache)
sudo systemctl restart apache2

After i access MY_IP/phpmyadmin and got messsage

ReadResponse() failed: The server did not return a complete response for this request. Server returned 0 bytes.

I refered this But not working

How can i fix that thank.

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.

Submit an Answer
1 answer

Hi @kien16,

Can you please make sure there is an actual phpMyAdmin configuration file? It’s possible something went wrong during the installation processes.

The file can be found here

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

If there is no information there, then you might need to re-install phpMyAdmin from the beginning using the tutorial.