php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10378 When script timout occurs PHP crashes with ODBC
Submitted: 2001-04-18 09:47 UTC Modified: 2001-05-27 19:23 UTC
From: martin at jma dot se Assigned:
Status: Closed Package: *General Issues
PHP Version: 4.0.4pl1 OS: Windows 2000 sp1
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: martin at jma dot se
New email:
PHP Version: OS:

 

 [2001-04-18 09:47 UTC] martin at jma dot se
When script timeout occurs (in my case moving data from a textfile to a database, many inserts)
PHP prints out the error message (exceeded 300 sec timeout) and then crashes.

The error does not occur if I do a simple while(forewer) so it must be related to open connections.

Sorry that I'm unable to find out further whats cousing this.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-04-18 09:55 UTC] derick@php.net
Does it crash with an Access Violation, or does it just stop?
 [2001-04-18 12:47 UTC] martin at jma dot se
This timeout is most likely coming from Internet Explorer.

IE will terminate the HTTP session if it has not received a response back from the server in 300 seconds.

You can mitigate this problem by doing a:

print "."; flush();

in your loop.

PHP will continue forever (or until the limits defined in php.ini have been met).  Personally I've had PHP doing some intensive stuff with this - one script runs for 2 days on a PIII-800 - until I rewrote it in perl so it finishes in 1 hour ;-)

Paul.
 [2001-05-27 19:23 UTC] sniper@php.net
browser issue -> not bug in PHP -> closed.

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed May 07 15:01:31 2025 UTC