ID: 9990
User Update by: [EMAIL PROTECTED]
Status: Open
Bug Type: InterBase related
Description: php forces the apache to wait for ever

workaround: apache 1.3.14 + ssl + interbase (firebird 1.0) + 4.04pl1

<?
function ib6_LogOn($username='',$password='',$connectto) {
  $conn = ibase_connect("/usr/interbase/$connectto", $username, 
$password,'ISO8859_1');

  if (!$conn || ibase_errmsg()) ib6_errorlogs();
    return $conn;
}

$conn = ib6_logn('test','test','test.gdb');
print "Connection $conn<br>\n";
ibase_close($conn);
?>

when exec, this small script in a very fast sequence, php forces the apache for ever.
the apache is still working fine, when u exec a script that doesn't use ib6.
the browser responses: Doc. contains no data (500)

php doesn't seem to disconnect the connection.

but then the apace tries to free memory, which doesn't seem to make any
differences ...

[Tue Mar 27 01:01:37 2001] [info] [client 10.0.0.1] send timed out
interbase.c(761) :  Freeing 0x0821E824 (71 bytes), 
script=/www/htdocs/test.de/htdocs/test.html
./zend_execute.c(1517) :  Freeing 0x082101A4 (12 bytes), 
script=/www/htdocs/test.de/htdocs/test.html
./zend_execute.c(1653) :  Freeing 0x082102A4 (10 bytes), 
script=/www/htdocs/test.de/htdocs/test.html
zend_variables.c(127) : Actual location (location was relayed)
Last leak repeated 3 times
./zend_execute.c(1650) :  Freeing 0x082C24A4 (12 bytes), 
script=/www/htdocs/test.de/htdocs/test.html
Last leak repeated 4 times


Previous Comments:
---------------------------------------------------------------------------

[2001-03-26 04:29:08] [EMAIL PROTECTED]
workaround: apache 1.3.14 + ssl + interbase (firebird 1.0) + 4.04pl1

<?
function ib6_LogOn($username='',$password='',$connectto) {
  $conn = ibase_connect("/usr/interbase/$connectto", $username, 
$password,'ISO8859_1');

  if (!$conn || ibase_errmsg()) ib6_errorlogs();
  return $conn;
}

$conn = ib6_logn('test','test','test.gdb');
print "Connection $conn<br>n";
ibase_close($conn);
?>

when exec, this small script in a very fast sequence, php forces the apache for ever.
the apache is still working fine, when u exec a script that doesn't use ib6.
the browser responses: Doc. contains no data (500)

php doesn't seem to disconnect the connection.

---------------------------------------------------------------------------


Full Bug description available at: http://bugs.php.net/?id=9990


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to