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:
- file_get_contents -> Connection timeout.
- curl -> Connection timeout
- Tried to set a custom timeout.not working
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
andcurl
should work.