|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2018-06-13 12:27 UTC] cmb@php.net
-Status: Open
+Status: Duplicate
-Assigned To:
+Assigned To: cmb
[2018-06-13 12:27 UTC] cmb@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 17:00:01 2025 UTC |
Description: ------------ Condition: Interbase XE. package used: PHP_INTERBASE.DLL inserted in php-5.3.8-nts-Win32-VC9-x86 I have used gds32.dll of Interbase XE (version 10.0.2.474), renamed to fbclient.dll and stored in C:\PHP directory. (This is the one that surely is used because, if I remove it, the PHP_INTERBASE.DLL fails to be loaded). To replicate, create a table called TB_ERROR in your interbase database: CREATE TABLE TB_ERROR ( IDX_ERROR INTEGER NOT NULL, FLAG BOOLEAN ); Test script: --------------- <?php $database = "127.0.0.1/3052:/database/ERRORPHP.ib"; $username ="sysdba"; $password ="masterkey"; $dbh = ibase_connect($database, $username, $password); $trans = ibase_trans(IBASE_DEFAULT,$dbh); $stmt = 'SELECT IDX_ERROR,FLAG FROM TB_ERROR'; $sth = ibase_query($dbh,$stmt); $line = ibase_fetch_row($sth); foreach ($line as $col_value) print ("$col_value<BR>\n"); ibase_commit($trans); ?> Expected result: ---------------- (The table is empty, so you do not expect ant result and any error) Actual result: -------------- Error HTTP 500.0 - Internal Server Error C:\Program Files\PHP\php-cgi.exe