phpMyAdmin fails: 500 Interal Server Error

Created:

2016-11-16 13:05:30 UTC

Modified:

2017-04-24 11:14:35 UTC

0

Was this article helpful?


Have more questions?

Submit a request

phpMyAdmin fails: 500 Interal Server Error

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk 11.5 for Linux

Symptoms

During an attempt to make a change to a database field in phpMyAdmin, the system crashes and Internal Server Error appears.

In Plesk logs ( /var/log/sw-cp-server/error_log ):

     *1110 open() "/var/lib/sw-cp-server/body/0000000014" failed (13: Permission denied), client:, server: , request: "POST /domains/databases/phpMyAdmin/import.php HTTP/1.1"

Cause

Incorrect ownership is set on /var/lib/sw-cp-server/ directory.

Resolution

Set correct ownership and permission on /var/lib/sw-cp-server/ directory:

# chown sw-cp-server:sw-cp-server /var/lib/sw-cp-server/
# chmod 700 /var/lib/sw-cp-server/
# ll -d /var/lib/sw-cp-server/
drwx------ 7 sw-cp-server sw-cp-server 4096 Oct 30 15:10 /var/lib/sw-cp-server/
Have more questions? Submit a request
Please sign in to leave a comment.