I got a strange error message:
file_get_contents(): open_basedir restriction in effect. File(/path/to/file) is not within the allowed path(s): (/Library/WebServer:/var/tmp:/path/to)
As seen, the path to the file has been added in the allowed paths, why does open_basedir restriction remain in effect?