allow_url_fopen has been disabled for security reasons. Alternatives are not working.http://wiki.dreamhost.com/Allow_url_fopen
I am getting the following 2 common errors:

(URL file-access is disabled in the server configuration)
(failed to open stream: no suitable wrapper could be found)

Does anyone have a fix/patch to included in my php file without enabling the allow_url_fopen on the server?

Thank you for your time and help in advance.

Comments

Salif’s picture

Should this post bellow be an alternative to allow_url_fopen = on in the case of Drupal?
http://www.learnphponline.com/errors/url-file-access-is-disabled-in-the-...
Thanks much.

Salif

nico_2802’s picture

Hi Salif,

I am dealing with the same question here... I see, nobody replied you until today. Could you find a solution to this issue? I get the same error message here
Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration...
And me too, I would not easily like to switch allow_url_fopen = on, after I read the information on the link you provided.

Help would be appreciated,
Nico