Jump to content
  • 0
Sign in to follow this  
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

1 answer to this question

Recommended Posts

  • 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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.