I searched for similar issues at SO, but none worked for me.
I deployed my laravel 4 app on appfog and try to get content from an external website.
I've tried several things:
My PHP-Settings:
allow_url_fopen On
cURL support enabled
Is there something about appfog that you cannot access an external website?
I got response from the Appfog Team.
They say that it is a problem with their EU-AWS servers and they're trying to fix this. It isn't fixed yet.
So normaly file_get_contents
and curl
should work.
Meantime solution for this problem:
Move your app to US-AWS servers. Everything works fine there.