Jump to content
  • 0

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


Onairda

Question


  • Group:  Members
  • Topic Count:  70
  • Topics Per Day:  0.03
  • Content Count:  164
  • Reputation:   8
  • Joined:  12/30/16
  • Last Seen:  

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

  • Group:  Members
  • Topic Count:  70
  • Topics Per Day:  0.03
  • Content Count:  164
  • Reputation:   8
  • Joined:  12/30/16
  • Last Seen:  

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

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  308
  • Reputation:   24
  • Joined:  11/26/12
  • Last Seen:  

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

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  21
  • Reputation:   12
  • Joined:  09/14/21
  • Last Seen:  

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

×
×
  • Create New...