I can not connect to a local bank in firebird.
Since I enabled the following extensions in php.ini but not getting any results.
extension=php_interbase.dll
extension="interbase.so"
extension=php_pdo_firebird.dll
I have also done interbase.so download the file and copy it to the folder:
/opt/lampp/lib/php/extensions/no-debug-non-zts-20131226/
I'm using:
My file database.php
$db['default'] = array(
'dsn' => '',
'hostname' => 'localhost',
'username' => 'SYSDBA',
'password' => 'masterkey',
'database' => 'localhost://home//ronald//fire//DEMO.GDB',
// 'port' => '3050',
'dbdriver' => 'ibase',
'dbprefix' => '',
'pconnect' => FALSE,
'db_debug' => TRUE,
'cache_on' => FALSE,
'cachedir' => '',
'char_set' => 'utf8',
'dbcollat' => 'utf8_general_ci',
'swap_pre' => '',
'encrypt' => FALSE,
'compress' => FALSE,
'stricton' => FALSE,
'failover' => array(),
'save_queries' => TRUE
);
Recalling that the problem is not in my connection string, as I've tried variations like:
Error:
Thank you for your help!
EDIT
By suggesting "@Daniel Waghorn" ran a page with phpinfo()
The result can be seen in: http://codepen.io/anon/pen/LVdzRy?editors=100
I took to perform the following function get_loaded_extensions(false)
The function returns me the loaded modules. And as you can see the modules for the Firebird are not loaded.
Now how can I load the Firebird modules to run with XAMPP START?
Just copy fbclient.dll and gds32.dll to apache/bin/ folder and restart apache.
This work for me anfter hours of research.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With