Page 1 of 1

Problem with XAMPP and Firebird

PostPosted: 05. January 2016 09:10
by bedamusa
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
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?

Re: Problem with XAMPP and Firebird

PostPosted: 06. January 2016 12:09
by bedamusa
This is error code from php
Code: Select all
[06-Jan-2016 11:05:37 UTC] PHP Warning:  PHP Startup: sqlsrv: Unable to initialize module
Module compiled with module API=20100525
PHP    compiled with module API=20121212
These options need to match
 in Unknown on line 0

[06-Jan-2016 11:05:37 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'D:\xampp\php\ext\php_pdo_firebird.dll' - The specified module could not be found.

 in Unknown on line 0

[06-Jan-2016 11:05:39 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'D:\xampp\php\ext\php_interbase.dll' - The specified module could not be found.

 in Unknown on line 0

[06-Jan-2016 11:05:39 UTC] PHP Warning:  PHP Startup: sqlsrv: Unable to initialize module
Module compiled with module API=20100525
PHP    compiled with module API=20121212
These options need to match
 in Unknown on line 0

[06-Jan-2016 11:05:39 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'D:\xampp\php\ext\php_pdo_firebird.dll' - The specified module could not be found.

 in Unknown on line 0