Access Denied on front End Website

serverH

Registered
Mar 6, 2018
1
0
1
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.
 

Attachments

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,910
2,211
363
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.