php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19250 Php_hostconnect error
Submitted: 2002-09-05 10:05 UTC Modified: 2002-09-26 19:55 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: andy at reserve dot co dot uk Assigned:
Status: Closed Package: Unknown/Other Function
PHP Version: 4.2.1 OS: FreeBSD 4.4
Private report: No CVE-ID: None
 [2002-09-05 10:05 UTC] andy at reserve dot co dot uk
I have just built 2 new web servers to replace old ones. They are running FreeBSD 4.4 with Apache 1.3 and PHP 4.2.1 (compiled with mysql, pspell and pdf libs). They seem to be fine in testing but when they go live we get intermitant faults. At random times (roughly every 4-5 refreshes) one of the includes on the page gives up the error "php_hostconnect: connect failed". This only happens when we include files over a http:// connection and not when we include directly. We have tried using both host names and IP addresses and neither seem to help. I have also noticed a much less frequent problem with the mysql connections failing every so oftern. Any ideas?

Andy

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-09-05 14:00 UTC] kalowsky@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip

There was a bug similiar sounding to this that was fixed recently in CVS.   Hopefully it solves your problem as well.
 [2002-09-26 19:55 UTC] sniper@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Jun 07 14:02:46 2024 UTC