Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

2 Answers 2

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.

docroot=/var/www:${HOME}/public_html:/usr/share/phpmyadmin

may work.

share|improve this answer

Your Answer

 
discard

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.