It happened to me today with /home/user/public_html/index.php and the solution was to do chmod o+x /home/user
as this directory has to have the X as otherwise the apache server can't list files (i.e. do ls
)
↧
Answer by petka for PHP Warning: Unknown: failed to open stream
↧