Phpmyadmin HTTP Error 500 After complete installation and security login prompts but nothing

I installed the phpmyadmin looking at the digital ocean guide. After completing each step sucessfully the phpmyadmin does show the pop-up at after to it there is no reponse when I login it shows HTTP Error 500. I checked the Apache2 log it didn’t showed any error. So I did reconfiguration of the phpmyadmin still the issue persist out to be same. I also tried installing few php addons as looking at the forum those were php-mbstring php7.0-mbstring php-gettext also they got install and configure still the Phpmyadmin showcased HTTP Error 500 after login. Is the issue related to .htacess ? The phpmyadmin .htacess has following code AuthType Basic AuthName “Restricted Files” AuthUserFile /etc/apache2/.phpmyadmin.htpasswd Require valid-user

Just help me out what;s the exact issue which is persisted ?

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.


If you would, please post the contents of your configuration and I’ll be more than happy to take a look at it for you. Essentially, copy and paste what’s between the opening and closing VirtualHost blocks and wrap it with three starting backticks and three closing backticks (that’ll create a code block and keep it organized inside the comments section).


Which guide did you follow? If you would, please provide the link.

If you delete your .htaccess file and attempt to access the URI to your phpMyAdmin installation, does it work or do you still get the same error – or do you see a different error?

If, after deleting your .htaccess file, you’re able to access the installation, then we know that the issue is most likely with that file and you’ll want to double-check that there are no extra spaces or tabs – before or after (this can happen if you copy and paste sometimes).