Problem with XAMPP and Firebird
Posted: 05. January 2016 09:10
Hello I apologize for my bad English. I installed version xampp-win32-5.5.30-6-VC11-installer of XAMPP on Windows server 2008R2. After installation I allowed in php.ini extension=php_interbase.dll and extension=php_pdo_firebird.dll. I've added php_interbase.dll in php/ext and fbclient.dll in windows / system32 /.In php info do not see PDO firebird drivers and gives me the following error: Fatal error: Call to undefined function ibase_connect() in D:\xampp\htdocs\connection.php on line 4
connection.php
Can anyone help me?
connection.php
- Code: Select all
<?php
$strconnect = '172.16.194.88:D:\\path to folder\\path to folder\\path to folder\\DATABASE.GDB';
if (!($db=ibase_connect($strconnect, 'sysdba', 'masterkey', 'ISO8859_1', 0, 1)))
die('Could not connect: ' . ibase_errmsg());
$sql = "SELECT PO_NUMBER, ORDER_STATUS, ITEM_TYPE FROM SALES";
$cursor = ibase_query($sql);
$row_array = ibase_fetch_row($cursor);
print_r($row_array);
ibase_free_result($cursor);
ibase_close($db);
?>
Can anyone help me?