#37894 [Opn->Fbk]: failed to open stream: HTTP request failed!

From: Date: Fri, 23 Jun 2006 15:14:58 +0000
Subject: #37894 [Opn->Fbk]: failed to open stream: HTTP request failed!
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-98720@lists.php.net to get a copy of this message
ID: 37894 Updated by: tony2001@php.net Reported By: roclar at gmail dot com -Status: Open +Status: Feedback Bug Type: Filesystem function related Operating System: Solaris 10 PHP Version: 4.4.2 New Comment: The "same result"? I.e. "unable to connect"? Previous Comments: ------------------------------------------------------------------------ [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? ------------------------------------------------------------------------ [2006-06-23 14:22:01] roclar at gmail dot com Recompiled with the same options with the same result though the error messages seemed to be formatted slightly different: Warning: main(http://www.example.com/) [function.main]: failed to open stream: HTTP request failed! in /path/to/ script/testit.php on line 3 Warning: main() [function.include]: Failed opening 'http:// www.example.com/' for inclusion (include_path='.:/usr/local/ php/lib/php') in /path/to/script/testit.php on line 3 ------------------------------------------------------------------------ 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

« previous php.bugs (#98720) next »