Hello,
I am having the same problem as described below.
http://marc.info/?l=php-general&m=124104032703506
That is, I can't run file_get_contents() on PHP 5.2.9-2.
The guy answered his own question by:
"Sorry, didn't pay attention to the registered streams :-(
You need to install a PHP package with ssl or compile it with
--with-openssl."
What does that mean? I'm fairly new to all this stuff and I don't quite understand what he was talking about, (e.g. registered streams, ssl). We have another server that has SSL. Does he mean that if I just transfer to that server, problem solved? (Our web app doesn't need SSL by the way.) Or is there anything else I need to consider?
This is the error message that I got:
Warning: file_get_contents(URL OF THE FILE HERE) [function.file-get-contents]: failed to open stream: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. in D:\WebServer\Sapphire\CMS_2009\apps\Newswire\send_mails.php on line 54
Fatal error: Maximum execution time of 60 seconds exceeded in D:\WebServer\Sapphire\CMS_2009\apps\Newswire\send_mails.php on line 54
Can you please help me out?
Any help is much appreciated :)