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

From: Date: Fri, 23 Jun 2006 15:00:04 +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-98719@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: I could use wget on the server and get the same result. Previous Comments: ------------------------------------------------------------------------ [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 ------------------------------------------------------------------------ [2006-06-22 20:30:29] tony2001@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip ------------------------------------------------------------------------ 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 (#98719) next »