|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5153 fopen("http://...") has no timeout
Submitted: 2000-06-20 19:03 UTC Modified: 2002-08-28 12:37 UTC
Avg. Score:4.0 ± 0.8
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (50.0%)
From: schwenke at jobpilot dot de Assigned: wez (profile)
Status: Closed Package: Filesystem function related
PHP Version: 4.0.0 Release OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: schwenke at jobpilot dot de
New email:
PHP Version: OS:


 [2000-06-20 19:03 UTC] schwenke at jobpilot dot de
If one tries to fetch a remote HTML document via


and there is a connectivity problem (say a misconfigured
router), this function will not return in a reasonable 
time. There should be a timeout option, as the fsockopen function already has.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-08-28 08:14 UTC]
Reclassified as Filesystem-"Bug"
 [2002-08-28 08:31 UTC]
PHP 4.3 already has a default timeout for all sockets,
and will provide a means for a timeout to be specified for
network wrappers.
A configuration option will allow an administrator to tune
the default timeout value.

 [2002-08-28 12:37 UTC]
Please try using this CVS snapshot:
For Windows:

PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Wed Aug 17 04:05:45 2022 UTC