#37894 [Fbk->Opn]: failed to open stream: HTTP request failed!
| From: | roclar at gmail dot com | Date: | Fri, 23 Jun 2006 15:20:01 +0000 |
| Subject: | #37894 [Fbk->Opn]: failed to open stream: HTTP request failed! | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-98721@lists.php.net to get a copy of this message | ||
ID: 37894
User updated by: roclar at gmail dot com
Reported By: roclar at gmail dot com
-Status: Feedback
+Status: Open
Bug Type: Filesystem function related
Operating System: Solaris 10
PHP Version: 4.4.2
New Comment:
<br />
<b>Warning</b>: main(http://www.example.com/) [<a
href='function.main'>function.main</a>]: failed to open
stream: HTTP request failed! in <b>/path/to/script/
testit.php</b> on line <b>3</b><br />
<br />
<b>Warning</b>: main() [<a
href='function.include'>function.include</a>]: Failed
opening 'http://www.example.com/' for
inclusion
(include_path='.:/usr/local/php/lib/php') in <b>/path/to/
script/testit.php</b> on line <b>3</b><br />
Previous Comments:
------------------------------------------------------------------------
[2006-06-23 15:14:58] tony2001@php.net
The "same result"? I.e. "unable to connect"?
------------------------------------------------------------------------
[2006-06-23 15:00:04] roclar at gmail dot com
I could use wget on the server and get the same result.
------------------------------------------------------------------------
[2006-06-23 14:52:14] tony2001@php.net
But are you able to connect to this server from the same host where
your PHP script is located?
------------------------------------------------------------------------
[2006-06-23 14:44:11] roclar at gmail dot com
The web server is Apache/1.3.36 (Unix)
I have command line access to the host and can compile, start/
stop, etc.
------------------------------------------------------------------------
[2006-06-23 14:39:57] tony2001@php.net
What is the web-server used on this host (aka "example.com") and are
you able to connect to it using telnet or something else?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/37894
--
Edit this bug report at http://bugs.php.net/?id=37894&edit=1