System Error Message
Verified User
- Joined
- Feb 4, 2021
- Messages
- 9
Some time ago i updated the entire php version on directadmin, tweaked php ini, improved security, made sure everything was up to date and working properly. However for a while i've been having issues whenever i try to import a database into phpmyadmin. If i copy and paste the sql commands it works fine.
In the apache error log it shows
connection to [/tmp/lshttpd/APVH_webapps_Sulsphp.sock.784] on request #0, confirmed, 1, associated process: 4373, running: 1, error: Connection reset by peer!
This happens immediately while phpmyadmin only responds back after a while with the error 500 (rejected) that connection to server was lost. Even the php settings are set to allow uploads, file sizes and other variables are fine and work fine with other websites.
I've tried rolling back the changes and it still throws the same error. I've tried checking permissions in tmp, even getting it to recreate the .sock file in tmp.
Importing the database via directadmin or mysql through command line works fine. One thing i will mention is that with the improved security, hacked websites throw an error 500 too but the error log for them just points to php files instead. i dont think phpmyadmin does anything out of the ordinary considering the same thing can be done in directadmin for importing database files.
Im out of ideas for fixing this, tried reinstalling phpmyadmin as well. On another server, running a different panel, this doesnt happen despite the increased security and the same php ini.
In the apache error log it shows
connection to [/tmp/lshttpd/APVH_webapps_Sulsphp.sock.784] on request #0, confirmed, 1, associated process: 4373, running: 1, error: Connection reset by peer!
This happens immediately while phpmyadmin only responds back after a while with the error 500 (rejected) that connection to server was lost. Even the php settings are set to allow uploads, file sizes and other variables are fine and work fine with other websites.
I've tried rolling back the changes and it still throws the same error. I've tried checking permissions in tmp, even getting it to recreate the .sock file in tmp.
Importing the database via directadmin or mysql through command line works fine. One thing i will mention is that with the improved security, hacked websites throw an error 500 too but the error log for them just points to php files instead. i dont think phpmyadmin does anything out of the ordinary considering the same thing can be done in directadmin for importing database files.
Im out of ideas for fixing this, tried reinstalling phpmyadmin as well. On another server, running a different panel, this doesnt happen despite the increased security and the same php ini.