I've got 2 servers having this same problem. Both are Fedora Core 6 (same install) and php 5.1.6.
Anytime I try accessing an external file, I get "failed to open stream: HTTP request failed!". It doesn't matter how I try it: fopen, file_get_contents, file.. they all give the same problem. I have "allow_url_fopen = On" and phpinfo() shows this is correct. It doesn't matter what file, if its not on the local server, it will not work.. even trying to load google.com.. same result.
After resaerching for 3 hours.. I've seen several reports of bugs like this but no solutions. I have since then upgraded (built from sorce) to php 5.2.0 and I still have the exact same problem.
The only way I am able to open anything using fwrappers is with fsockets.. this is not a fun solution.
Anybody out there have any clues? I'm running out of links on google that are relevent...
-Dustin
Rom 8:28
Anytime I try accessing an external file, I get "failed to open stream: HTTP request failed!". It doesn't matter how I try it: fopen, file_get_contents, file.. they all give the same problem. I have "allow_url_fopen = On" and phpinfo() shows this is correct. It doesn't matter what file, if its not on the local server, it will not work.. even trying to load google.com.. same result.
After resaerching for 3 hours.. I've seen several reports of bugs like this but no solutions. I have since then upgraded (built from sorce) to php 5.2.0 and I still have the exact same problem.
The only way I am able to open anything using fwrappers is with fsockets.. this is not a fun solution.
Anybody out there have any clues? I'm running out of links on google that are relevent...
-Dustin
Rom 8:28