I am using XAMPP / LAMPP with CentOS and am trying to configure PHP to connect to a Firebird database. In php.ini
I already uncompressed the extension="interbase.so"
line and copied the interbase.so
to the /opt/lampp/lib/php/extensions/no-debug-non-zts-20100525
directory but I can not make it work. Looking at the logs in the file php_error_log
has a Unable to load dynamic library error and I can not find the reasons for this problem to solve.
How to configure PHP to connect Firebird with XAMPP / LAMPP?
Errors in the php_error_log file
[22-Oct-2015 01:51:39 America/Sao_Paulo] PHP Warning: PHP Startup: Unable to load dynamic library '/opt/lampp/lib/php/extensions/no-debug-non-zts-20100525/interbase.so' - libfbclient.so.2: wrong ELF class: ELFCLASS64 in Unknown on line 0
[22-Oct-2015 01:51:44 America/Sao_Paulo] PHP Warning: PHP Startup: Unable to load dynamic library '/opt/lampp/lib/php/extensions/no-debug-non-zts-20100525/interbase.so' - libfbclient.so.2: wrong ELF class: ELFCLASS64 in Unknown on line 0
[22-Oct-2015 01:51:47 America/Sao_Paulo] PHP Warning: PHP Startup: Unable to load dynamic library '/opt/lampp/lib/php/extensions/no-debug-non-zts-20100525/interbase.so' - libfbclient.so.2: wrong ELF class: ELFCLASS64 in Unknown on line 0