Warning: file_get_contents(<a valid URL>): failed to open stream: Permission denied in /var/www/html/index.php on line 13

What have i forgotten to do in my configuration of this new server to cause such an error?

allow_url_fopen is set to On.
Firewall has been disabled.