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.

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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,182
    Likes Received:
    1,756
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page