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 have configured my CentOS installation with Apache with suPHP. It works very well. But when I install PHPMyAdmin I get a permissions problem. Because PHPMyAdmin is located under /usr/share/phpmyadmin. I do not want to use an extra vhost for every domain. I want to use an Alias on each domain to /phpmyadmin.

What I must do to get it working?

share|improve this question
What sort of permissions problem do you have? Just guessing here, but you may have selinux enabled. What is the result of running getenforce? – becomingwisest Jan 10 '12 at 19:32

I think you can't do that. I solve this problem by adding a new site dedicated to PhpMyadmin for all the users

share|improve this answer

I don't have a system to hand to test this on (sorry) but I think you can use the docroot directive in your suphp.conf file to provide a path that all php scripts have to be in e.g.


may work.

share|improve this answer

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.