Question

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


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.

alexdo
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

https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-with-nginx-on-a-centos-7-server

Regards

KFSys
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.

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

card icon
Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Sign up
card icon
Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We’d like to help.

Learn more
card icon
Become a contributor

You get paid; we donate to tech nonprofits.

Learn more
Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow – whether you’re running one virtual machine or ten thousand.

Learn more ->
DigitalOcean Cloud Control Panel
Get started for free

Enter your email to get $200 in credit for your first 60 days with DigitalOcean.

New accounts only. By submitting your email you agree to our Privacy Policy.