login community faq

I run a program that uses php's file_get_contents and it returns Warning: file_get_contents(URL): failed to open stream: Connection timed out in (php script location) on line #

Running the same script runs perfectly fine on my other server. Any suggestions/reasons?

Thank You

asked Oct 05 '12 at 15:55

ascrookes93's gravatar image

ascrookes93
1

Could you tell us what the URL is that is trying to be retrieved? It is possible that it is actually timing out. -Wayne K., WebFaction Customer Support.

(Oct 05 '12 at 19:08) waynek ♦♦ waynek's gravatar image

I have similar problem:

Warning: file_put_contents file_put_contents(/home/mydir) [function.file-put-contents]: failed to open stream: Is a directory

Also works fine on my other server.

I found somewhere explanation "It seams that your host server don't support file_put_contents()"

(Nov 06 '12 at 03:57) Darc Darc's gravatar image

@Darc - could you please log a ticket via your WebFaction Control Panel? This will allow us to access your account and server details to better assist you. Wayne K., WebFaction Customer Support.

(Nov 06 '12 at 17:07) waynek ♦♦ waynek's gravatar image
Be the first one to answer this question!
If you have an answer to the above question, then use the form below. Otherwise, use the appropriate 'add new comment' button above to post your feedback.
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Tags:

×146
×61
×1

Asked: Oct 05 '12 at 15:55

Seen: 555 times

Last updated: Nov 06 '12 at 17:07

Plans & prices    Sign up    Why WebFaction?    Contact us    Affiliate program    Support    Legal    Jobs    Blog    Control panel login
Powered by OSQA
© Copyright 2003-2012 Swarma Limited - WebFaction is a service of Swarma Limited