failed to open stream: no suitable wrapper could be found in - Solution
November 19, 2006 – 8:49 amIf you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!
Okay, I got this message when I upgraded PHP to version 5.2. The cause was a few includes that linked to remote files. I couldn’t easily find the answer, so I solved it after doing a bit of research.
The solution is quite simple. Find your php.ini file and add the following line:
allow_url_include = On
This did not exist in my PHP.ini file, but if it does exists in yours, just change it to “On”. If you have a similar message but it pertains to fopen, the solution is basically the same.
Add this line to the PHP.ini
allow_url_fopen = On
The same rules apply: add it if isn’t there or modify it if it isn’t.
Hopefully this post will save you some time. I personally love it when I can quickly find the answer using a search engine, so maybe this will help you out.
If you enjoyed this post, subscribe to the Web's Best RSS feed!. See if your website's meta tags are optimized

Subscribe to Updates via Email