By kenboye
Hi,
I have 3 Droplets all with ubuntu 18.04, Php 7.2.24, phpmyadmin ver. 4.6.6. Until yesterday phpmyadmin worked fine, but now it gives me HTTP Error 500. Otherwise there is nothing wrong with the servers - (not that i know of). Has anyone experienced the same?.
I have no problem using heidisql
Is there a safe solution to fix the problem. One of the servers is in production, and vulnerale to downtime.
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!
Accepted Answer
SOLVED!!
After many hours i finally found what was wrong.
In /etc/phpmyadmin/config.inc.php last line there was a “;” missing
$cfg[‘TempDir’] = ‘/usr/share/phpmyadmin/tmp’; <-- ;
Hello, @lcgondellesm
I will recommend to examine the web server (Apache/Nginx) error_log in order to track down what exactly is causing the issue.
You can simply execute this command and then access phpMyAdmin in order to see the logged error message:
Apache on Ubuntu:
tail -f /var/log/apache2/error.log
Apache on On Centos:
tail -f /usr/local/apache/logs/error_log
Nginx on Ubuntu:
tail -f /var/log/nginx/error.log
Feel free to share any logged messages here so we can investigate this further.
Hope that this helps! Regards, Alex
Thanks for you answer @alexdo , but there is nothing to see in the error.log . I checked the access log and can see I try to run /phpmyadmin.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.