• 0
Sign in to follow this  
Followers 0
rolovely

fluxcp help me please!!!

Question

Warning: require_once(config/groups.php): failed to open stream: Permission denied in /home/sora/index.php on line 43 Fatal error: require_once(): Failed opening required 'config/groups.php' (include_path='lib:.:/usr/share/php:/usr/share/pear') in /home/sora/index.php on line 43

linux ubuntu

Edited by rolovely

Share this post


Link to post
Share on other sites

2 answers to this question

  • 0

Permission denied.

 

Your webserver is not authorized to access config/groups.php.

 

It appears that you're trying to run FluxCP from your home directory (a very bad idea). When you install apache it creates /var/www for you and makes that the default serve from directory. Running a webserver out of your home directory means anything in your home directory (including configuration files) are up for grabs.

 

To fix it from your current configuration, you would have to add yourself to the www-data group, then chgrp all the files in your home directory to www-data.

 

For the CORRECT fix, move all your flux CP files to /var/www, reset the appropriate apache configuration to serve files from there as it is supposed to be, then add your username to the www-data group to be able to modify files in the /var/www directory.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0