Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SOLVED Permission Denied after moving to apache worker

Discussion in 'EasyApache' started by MohammedSimba, Feb 5, 2018.

  1. MohammedSimba

    MohammedSimba Registered

    Joined:
    Feb 5, 2018
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Egypt
    cPanel Access Level:
    Root Administrator
    Hello,
    Yesterday i configured the easy apache to use the Worker MPM instead of prefork one for my wordpress site,

    But then i found that the "public_html" folder group ownership changed to "nobody" group!, and the plugins can't write to the home path as usual,

    When i tried to change it back to the default group "same name as user", the site gave me
    "
    Forbidden

    You don't have permission to access / on this server.
    Server unable to read htaccess file, denying access to be safe

    Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

    "
    And apache logs showed: "
    (13)Permission denied: [client a.b.c.d:51198] AH00529: /home/User/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/home/User/public_html/' is executable"

    Any help please?
     
  2. MohammedSimba

    MohammedSimba Registered

    Joined:
    Feb 5, 2018
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Egypt
    cPanel Access Level:
    Root Administrator
    Solved, thanks to cpanel support center, adding suexec module to cgi php handler did the trick,
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    42,734
    Likes Received:
    1,706
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    I'm glad to see you were able to solve the issue. Thank you for sharing the outcome.
     
Loading...

Share This Page