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!

Access Denied on front End Website

Discussion in 'General Discussion' started by serverH, Mar 6, 2018.

  1. serverH

    serverH Registered

    Joined:
    Mar 6, 2018
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Lahore, Pakistan
    cPanel Access Level:
    Root Administrator
    Hello there,
    I am facing issue on some of the domains which is hosted on my server. The error-log said
    "PHP Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0"

    While when we do open a website in a browser it shows the message
    "Access denied."

    Kindly advice me with the proper solution.

    Regards.
     

    Attached Files:

  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,749
    Likes Received:
    1,885
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Do you notice any output to /usr/local/apache/logs/error_log when this happens? Have you tested with a sample PHP file instead of the PHP files already uploaded to the account?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice