php - "Failed to open stream: Permission denied" only absolute path, relative path works -
i'm facing curious problem, if try read file using relative path works, if use , absolute path throws "permission denied"
works:
include './test.php';
permission denied:
include '/var/www/test.php';
i've tried of course via command line , paths correct. have vague memory of reading permissions of parent folders in case of absolute path, can't find back.
Comments
Post a Comment