Re: [mirrors] Status information

From: Date: Wed, 05 May 2010 07:54:06 +0000
Subject: Re: [mirrors] Status information
References: 1 2  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-38142@lists.php.net to get a copy of this message
On Wed, May 5, 2010 at 01:10, Erich Pletsch <e.pletsch@c7dc.com> wrote: > Yes.  I did check that. > > We have done extensive work trying to troubleshoot the issue, including putting in debug code, > etc.  However, we are not getting a meaningful error from PHP.  In fact, we get no error, warning > or message at all.  It just returns an empty result from the call to file_get_contents() > > I can wget the file it requests using file_get_contents() just fine, so it is specific to > php/apache and not an issue with the firewall or DNS. > Please try executing this from the command line: $ php -dtrack_errors=1 -r '$ctx = stream_context_get_default(array("http" => array("user_agent" => "php.net"))); $retval = file_get_contents("http://www.php.net/ws.php?profile=manual&q=foo&lang=en&results=10&start=1&mirror=us3.php.net", false, $ctx); var_dump($retval, $http_response_header, $php_errormsg, ini_get("default_socket_timeout"));' -Hannes

« previous php.mirrors (#38142) next »