#26617 [Fbk->NoF]: Firebird problem
| From: | abies@php.net | Date: | Sun, 21 Dec 2003 02:27:49 +0000 |
| Subject: | #26617 [Fbk->NoF]: Firebird problem | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-52350@lists.php.net to get a copy of this message | ||
ID: 26617
Updated by: abies@php.net
Reported By: denis at enot dot ee
-Status: Feedback
+Status: No Feedback
Bug Type: InterBase related
Operating System: Mandrake 9.2
PHP Version: 4.3.3
Previous Comments:
------------------------------------------------------------------------
[2003-12-14 06:00:32] derick@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
------------------------------------------------------------------------
[2003-12-14 03:45:47] denis at enot dot ee
Description:
------------
I need php script for crontab 1 process, but
if create connect to base && disconnect
it make file core.NNNN
Reproduce code:
---------------
#!/usr/bin/php-cgi
<?php
$db_host = '127.0.0.1:/opt/base/amur.gdb';
$db_charset = 'NONE';
$db_user = 'SYSDBA';
$db_pass = "masterkey";
$dbh0=ibase_connect ($db_host,$db_user,$db_pass, $db_charset, '0',
'3') or die
ibase_timefmt("%d.%m.%Y %H:%M:%S", IBASE_TIMESTAMP);
sleep(5);
ibase_close ($dbh0);
?>
Expected result:
----------------
Content-type: text/html
X-Powered-By: PHP/4.3.3
Segmentation fault (core dumped)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26617&edit=1