Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I recently installed phpMyAdmin on our dedicated server. It was working fine until we had disk space full and had to move /home to new partition. Now we are getting following error while visiting xxxx.xx.xxxx.xxxx/phpMyAdmin/ or we get Internal Server error.

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Apache/2.2.15 (CentOS) Server at Port 80

I looked into the error log file and I could find only one error related to phpMyAdmin

[Fri Nov 16 01:11:06 2012] [info] Executing "/home/flourish/public_html/index.php" as UID 2010, GID 2010
[Fri Nov 16 01:11:15 2012] [warn] File "/usr/share/phpMyAdmin/index.php" is not in document root of Vhost "/home/flourish/public_html"
[Fri Nov 16 01:11:16 2012] [warn] File "/usr/share/phpMyAdmin/index.php" is not in document root of Vhost "/home/flourish/public_html"

Is this related to permission issue or vhost? It was working fine before we had issue with disk space.


share|improve this question
check your php execution mode... – user128296 Nov 16 '12 at 12:35
up vote 1 down vote accepted

suPHP won't allow phpMyAdmin to run because it is in /usr/share/phpMyAdmin/ rather than the root of Vhost "/home/flourish/public_html".

The easiest way to fix this is by changing the check_vhost_docroot=true flag to false in the suphp.conf.

If that is too insecure for your blood, you can make phpMyAdmin it's own VHOST.

share|improve this answer
Hi,Thanks a lot. I made separate VHOST for phpMyAdmin and installed it. Its working fine now. – FlourishDNA Dec 17 '12 at 11:17

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.