Bug #10854 Updated: Crash on script timeout with ODBC functions
| From: | kalowsky@php.net | Date: | Mon, 18 Jun 2001 13:45:52 +0000 |
| Subject: | Bug #10854 Updated: Crash on script timeout with ODBC functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-56691@lists.php.net to get a copy of this message | ||
ID: 10854
Updated by: kalowsky
Reported By: Vladimir.Michl@seznam.cz
Old-Status: Feedback
Status: Closed
Bug Type: ODBC related
Operating system:
PHP Version: 4.0.5
Assigned To:
Comments:
no feedback from user.
Previous Comments:
---------------------------------------------------------------------------
[2001-05-30 09:04:00] kalowsky@php.net
are you using IIS with the ISAPI plugin?
On a system using Apache 1.3.19/Win32, PHP 4.0.5, and MSSQL2000 it produces a fatal PHP error, but
no crash (thanks to Matt White for testing this).
---------------------------------------------------------------------------
[2001-05-14 11:59:40] Vladimir.Michl@seznam.cz
There is script. Replace sdczal in odbc_connect with any ODBC alias and PLC_CLHPRESS with any table
from alias.
<?php
$db = odbc_connect("sdczal", "", "");
while(1){
$res = odbc_exec($db, "select * from PLC_CLHPRESS;");
};
odbc_close($db);
?>
There is related directives from php.ini:
max_execution_time = 10 ; Maximum execution time of each script, in seconds
memory_limit = 50M ; Maximum amount of memory a script may consume (8MB)
When execution time exceed PHP crash with Access violation.
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10854&edit=2