-
Notifications
You must be signed in to change notification settings - Fork 74
Php fatal error opening website
Dario 'Dax' Vilardi edited this page Feb 26, 2016
·
1 revision
PHP Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0
PHP Fatal error: Unknown: Failed opening required '/var/www/html/linfo/index.php' (include_path='.:/usr/share/pear:/usr/share/php') in Unknown on line 0
The trouble: SELINUX!
The fix: chcon -t httpd_sys_rw_content_t /var/www/html/linfo/ -R