|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-11-05 01:49 UTC] felipe@php.net
-Status: Open
+Status: Bogus
[2010-11-05 01:49 UTC] felipe@php.net
[2010-11-05 02:13 UTC] ice_and_hut at hotmail dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Dec 14 09:00:02 2025 UTC |
Description: ------------ I am experiencing this behavior with any version of php after 5.2. I have compiled php with interbase support, but my adodb code fails on the following line. The firebird database is available (can connect with flamerobin), im using the latest version of adodb (5.11). Initially I thought it had something to do with the adodb-ext package, but after removing that and delving into the adodb package code (drivers/adodb-ibase.inc.php), this is where it fails. if (!function_exists('ibase_pconnect')) return null; Seeing as I have compiled php with interbase support and my function call to what should be a local php function fails, I see this as a bug. Any assistance would be appreciated. Test script: --------------- require_once("adodb.inc.php"); //ADOdb library $db_host = "localhost"; $db_username = "username"; $db_password = "password"; $database = "/var/lib/firebird/database.fdb"; $db = NewADOConnection("firebird"); $db->debug = true; //turn on debug msgs $db->dialect = 3; $db->autoCommit = true; $db->PConnect($db_host,$db_username,$db_password,$database); // <---- fails $db->SetFetchMode(ADODB_FETCH_ASSOC); if (!$db) { die("Connection failed"); } Expected result: ---------------- no output as the connection is successful Actual result: -------------- localhost: Missing extension for ibase messing with the adodb-ibase.inc.php file and commenting out line 66 Fatal error: Call to undefined function ibase_pconnect() in /usr/share/php5/adodb/drivers/adodb-ibase.inc.php on line 73