# DreamFactory Utility Module: Could not find driver for Firebird 3 - Follow up

**URL:** <https://community.dreamfactory.com/t/dreamfactory-utility-module-could-not-find-driver-for-firebird-3-follow-up/5247>\
**Category:** REST API\
**Created:** [November 6, 2020, 3:50pm UTC](https://community.dreamfactory.com/t/dreamfactory-utility-module-could-not-find-driver-for-firebird-3-follow-up/5247 "2020-11-06T15:50:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![NolsSmit](https://avatars.discourse-cdn.com/v4/letter/n/9de053/32.png) [@NolsSmit](https://community.dreamfactory.com/u/NolsSmit)\
**Post date:** [November 6, 2020, 3:50pm UTC](https://community.dreamfactory.com/t/dreamfactory-utility-module-could-not-find-driver-for-firebird-3-follow-up/5247/1 "2020-11-06T15:50:30Z")

</div>

I followed these steps:

Start with:  
$ sudo apt-get update

Install php  
$ sudo apt install php7.4-cli

Install php dev  
$ sudo apt install php7.4-dev

cd /tmp  
git clone [https://github.com/php/pecl-database-interbase.git](https://github.com/php/pecl-database-interbase.git)  
cd pecl-database-interbase/  
sudo apt-get install firebird-dev autoconf build-essential  
phpize --clean  
phpize  
./configure  
make  
sudo make install

Enable the driver in your /etc/php/7.4/cli/php.ini file.  
 cd /etc/php/7.4/cli sudo nano php.ini … and search for firebird

and change to  
…  
…  
;extension=odbc  
;extension=openssl  
;extension=pdo\_firebird  
extension=interbase  
;extension=pdo\_mysql  
;extension=pdo\_oci  
;extension=pdo\_odbc  
…  
…

Jacob Alberty, owner of the jacobalberty/firebird image proposed the extension.

After saving the change in php.ini, with the command:  
$ php -m

The output (without any error messages and notice interbase in the list) is:

nols@ubuntuserver:~$ php -m

[PHP Modules]  
calendar  
Core  
ctype  
date  
dom  
exif  
FFI  
fileinfo  
filter  
ftp  
gettext  
hash  
iconv  
interbase  
json  
libxml  
openssl  
pcntl  
pcre  
PDO  
Phar  
posix  
readline  
Reflection  
session  
shmop  
SimpleXML  
sockets  
sodium  
SPL  
standard  
sysvmsg  
sysvsem  
sysvshm  
tokenizer  
xml  
xmlreader  
xmlwriter  
xsl  
Zend OPcache  
zlib

[Zend Modules]  
Zend OPcache

To mention: I’m running Dreamfactory in a docker container.

**My docker-compose.yml file:**

version: ‘2’

services:

mariadb:  
restart: unless-stopped  
container\_name: mariadb  
image: bitnami/mariadb:latest  
volumes:  
- ./mariadb\_data:/bitnami/mariadb  
environment:  
- ALLOW\_EMPTY\_PASSWORD=yes  
networks:  
- dreamfactory-tier

mongodb:  
restart: unless-stopped  
container\_name: mongodb  
image: ‘bitnami/mongodb:latest’  
volumes:  
- ./mongodb\_data:/bitnami/mongodb  
networks:  
- dreamfactory-tier

redis:  
restart: unless-stopped  
container\_name: redis  
image: ‘bitnami/redis:latest’  
environment:  
- ALLOW\_EMPTY\_PASSWORD=yes  
volumes:  
- ./redis\_data:/bitnami/redis  
networks:  
- dreamfactory-tier

`# https://hub.docker.com/r/bitnami/dreamfactory/`  
dreamfactory:  
restart: unless-stopped  
container\_name: dreamfactory  
image: bitnami/dreamfactory:latest  
environment:  
- SMTP\_HOST=[smtp.gmail.com](http://smtp.gmail.com)  
- SMTP\_PORT=587  
- [SMTP\_USER=nols.smit@gmail.com](mailto:SMTP_USER=nols.smit@gmail.com)  
- SMTP\_PASSWORD=xxxxxxxxxxxxxxx  
- SMTP\_PROTOCOL=tls  
- DREAMFACTORY\_DATABASE\_TYPE=mariadb  
- DREAMFACTORY\_ENABLE\_MARIADB\_DATABASE=yes  
ports:  
- ‘80:80’  
- ‘443:443’  
volumes:  
- ./dreamfactory\_data:/bitnami  
networks:  
- dreamfactory-tier  
depends\_on:  
- mariadb  
- mongodb  
- redis

`# https://hub.docker.com/r/jacobalberty/firebird/`  
firebird:  
restart: unless-stopped  
container\_name: firebird  
image: jacobalberty/firebird:latest  
environment:  
- TZ=“Africa/Johannesburg”  
- tmpfs=/data:rw  
- ISC\_PASSWORD=xxxxxxxxxxxxxxxx  
ports:  
- 3050:3050  
volumes:  
- ./firebird\_data:/firebird  
networks:  
- dreamfactory-tier  
- app-tier

`# See: https://github.com/bitnami/bitnami-docker-apache#how-to-use-this-image`  
apache:  
restart: unless-stopped  
container\_name: apache  
image: bitnami/apache:latest  
environment:  
- APACHE\_HTTP\_PORT\_NUMBER=8080  
- APACHE\_HTTPS\_PORT\_NUMBER=8443  
ports:  
- 8080:8080  
- 8443:8443  
volumes:  
- ./apache\_data:/app  
- .my\_vhost.conf:/vhosts/my\_vhost.conf:ro

postgres:  
restart: unless-stopped  
container\_name: postgres  
image: bitnami/postgresql:latest  
environment:  
- TZ=“Africa/Johannesburg”  
- POSTGRES\_DATABASE=sdb\_risk  
- POSTGRES\_USER=postgres  
- POSTGRES\_PASSWORD=xxxxxxxxxxxxxxxx  
ports:  
- 5432:5432  
- 5433:5433  
volumes:  
- ./postgres\_data:/bitnami/postgresql  
networks:  
- dreamfactory-tier  
- app-tier

networks:  
dreamfactory-tier:  
app-tier:  
driver: bridge  
volumes:  
mariadb\_data:  
driver: local  
mongodb\_data:  
driver: local  
redis\_data:  
driver: local  
dreamfactory\_data:  
driver: local  
firebird\_data:  
driver: local  
postgres\_data:  
driver: local

**But I still get the error: Dreamfactory Utility Module: could not find driver**

Regards,

Nols Smit
