Hey everyone, having a really hard time troubleshooting a allow_url_fopen bug. On my shared hosting account, it works fine. But i moved the script to my dedicated and its not working. Getting the following error below Warning: fopen(http://youtube.com/get_video.php?video_id=&fmt=17) [function.fopen]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/xxxx/public_html/index.php on line 32 Code (markup): Whats weird is though, im in the middle of rebuilding apache and php through whm and i tried the site and it worked fine for a split second. Then i hit refresh and got the same freakin error I enabled allow_url_fopen in my php.ini etc. and it's still not working. Is there some kind of security thing or something in php i missed that will block this? My resolvers and everything else are setup fine also. Thanks for the help.
Make sure you don't have the following in php.ini: allow_url_fopen = 'off' Also it can be disabled in httpd.conf the line would look similar to this : php_flag allow_url_fopen off
I did both and am still getting this damn error lol, any other ideas? I replicated all of the settings from my other server where it works and its giving me this error.