fopen is failing with failed to open stream: Permission denied in /var/www/html/
even though safe mode is turned off and open_basedir is set to none.
The folder that PHP is trying to read a file from is /home/vuser/files/ and it has 777 file permissions. Is there something I'm missing? can't figure out what user php is running as, because posix functions are not installed.
Here is the fopen command:
$src_dir = '/home/vuser/files';
fopen($src_dir . DIRECTORY_SEPARATOR . $filename, 'r');