Problems with the Windows version of XAMPP, questions, comments, and anything related.
by bedamusa » 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
- 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?
-
bedamusa
-
- Posts: 2
- Joined: 05. January 2016 08:49
- Operating System: Windows Server 2008 R2
by bedamusa » 06. January 2016 12:09
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
-
bedamusa
-
- Posts: 2
- Joined: 05. January 2016 08:49
- Operating System: Windows Server 2008 R2
Return to XAMPP for Windows
Who is online
Users browsing this forum: No registered users and 204 guests