Jump to content
  • 0
G-RO

Flux CP Permission denied in /var/www/html/cp/lib/Flux.php on line 275

Question

Hello Everyone,

Good day!

I encountered an error when I tried to install my Flux CP in my VPS (Centos 7 hosted in OVH).

I already grant 777 permision to my var/www/html/cp/. I already checked every folder and it has 777 permission and apache js the owner. 

I already renamed moved suexec to suexec.unused

image.png.df2e0f71e0ebd12ce35a2006db868561.png

image.thumb.png.b77264163ddd2cc2c70c2647fe6e0f99.png

Thanks

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • -1

Appreciated your response. but Already fixed the problem for those who looking for answer please see below.

What I do is I disabled

1 SELINUX

moved suexec to suexec.unused

sudo chmod -R 777 /var/www/html

4. I created a user then grant the user access to /var/www/html/ then upload the fluxCP using that user then login as root sudo chown -R apache:apache /var/www/html/

 

 

Link to comment
Share on other sites

  • 0
On 9/13/2021 at 4:08 PM, G-RO said:

Hello Everyone,

Good day!

I encountered an error when I tried to install my Flux CP in my VPS (Centos 7 hosted in OVH).

I already grant 777 permision to my var/www/html/cp/. I already checked every folder and it has 777 permission and apache js the owner. 

I already renamed moved suexec to suexec.unused

image.png.df2e0f71e0ebd12ce35a2006db868561.png

image.thumb.png.b77264163ddd2cc2c70c2647fe6e0f99.png

Thanks

Try this :
 

sudo chmod -R 777 /var/www/html

sudo chown -R apache:apache /var/www/html

if this wont work just let me know ^_^

Link to comment
Share on other sites

  • 0
On 9/15/2021 at 11:00 AM, G-RO said:

sudo chmod -R 777 /var/www/html

You changed the mode for every object in your webroot to "777".

That is a security risk and you should reconsider performing that action as a solution.
Your webroot directory and content permissions are wide open.

Instead, change permissions only for the files and directories that require it.

Edited by WooZy
Added alternative solution
  • Upvote 1
Link to comment
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.   Paste as plain text instead

  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.



×
×
  • Create New...

Important Information

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