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 2 virtual servers (virtualmin) running php as FCGId:

domain: app-base.com
home: /home/appbase
user: appbase (1001)
group: appbase (1001)


domain: app-demo.com
home: /home/appdemo
user: appdemo(1002)
group: appdemo(1002)

I need to include /home/appbase/config.php in /home/appdemo/public_html/test.php.

Is this possible? What options do I have?

I tried to setup the same group to each virtual-server and modify SuexecUserGroup, but doesn't work. (500 Internal Server Error)

share|improve this question
1  
The problem was the user-group of the wrapper php5.fcgi –  Luistar15 Sep 18 '12 at 4:42
    
If you managed to solve your own problem, please post the answer and then accept it by clicking the outline of the check mark. This helps others know that you no longer need assistance. Welcome to Server Fault! –  Michael Hampton Sep 18 '12 at 14:19
add comment

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.