Why is phpMyAdmin getting "Error in processing request Error code: 500 Error text: Internal Server Error"

I am running a CentOS 7 server with Nginx. phpMyAdmin is installed and working except some of the browser UI features are not working.

When I attempt to use the Search tab I get “Error in processing request Error code: 500 Error text: Internal Server Error”. I am able to run a query from the SQL tab.

I also get this error when clicking the Export tab.

I have read numerous online posts and everything appears to be setup correctly.

I am hoping someone can assit me in finding a resolution.

All help is appreciated.

Submit an answer
Answer a question...

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.

Site Moderator
Site Moderator badge
February 8, 2023

Hello @tonyrhoades

You can start by checking the Nginx error log file as 500 internal server error will usually indicate issue with the web-server in this case Nginx

We also have an article for installing phpMyAdmin on CentOS 7 which you can check here


Site Moderator
Site Moderator badge
February 4, 2023

Hey @tonyrhoades,

I’ll recommend you to check the PhpMyAdmin error logs, they should be somewhere in the /var/log folder. Check the logs for specific errors and we can take it from there.

Additionally, check Nginx’s error log as well, you might find something useful there.

Once you have the error from the logs, you can post it here so that we can further assist you in the matter.

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.