I searched a lot from the internet but did not find a solution.
I want to define interbase/Firebird in php. (extention) to connect to firebird servers.
but php extension ‘interbase’ is not loaded.
How can I do that?
thank you so much.
Operating System : Centos 7
Php : Php 5.6.40
Apache : httpd-2.4.6-90.el7.centos.x86_64
[root@server ~]# yum list installed | grep php
cwp-suphp.x86_64 0.7.2-3 @cwp
cwpphp.x86_64 7.0.32-1 @cwp
php.x86_64 5.4.16-46.el7 @base
php-cli.x86_64 5.4.16-46.el7 @base
php-common.x86_64 5.4.16-46.el7 @base
php-interbase.x86_64 5.4.16-9.el7 @epel
php-pdo.x86_64
looks loaded
[root@server ~]# ls /usr/local/lib/php/extensions/no-debug-non-zts-20131226/
opcache.a opcache.so
but not here
2
Answers
You have to install fbclient 2.5, that’s expected.
Pdo_firebird loads just fine, PDO is builtin in PHP, there is no need to enable
php_pdo.dll. Are you sure that you did not mix versions?
Try installing a php version 7.0 or 7.1, 7.2
and its modules …
I don’t know if it’s available in version 5.4 this extension for Fireburd
Access the terminal (as root) and execute the commands below, according to your system version:
CentOS / RHEL 7.x:
CentOS / RHEL 6.x:
Installing php 5.6:
Enabling php extensions:
Firebird / Interbase:
Ldap Module:
GD Module:
MySQL:
MSSQL Server:
ODBC:
RFQ:
PostgreSQL:
Restart apache:
See that you have a module for Firebird in php 5.6
I advise if you have opportunity upgrade to php 7.0 or 7.1 or 7.2
For 5.6 is already on its way to being discontinued.
Send us news about your success, ok …
Greetings!