Enable Interbase Module for php

May 7, 2015 2k views
Control Panels PHP

We have a wordpress site with scripts that need to write to an Interbase db. Our developer attempted to add the extension to php via "extension=php_interbase.so" in php.ini to no avail. We use serverpilot and here is their answer "For Interbase, we build PHP with ODBC support. So, you'll need to connect to your Interbase database server over ODBC."

What would be the easiest way to do this? Can we add the php extension somehow or do we have to use the ODBC driver (with or without serverpilot)? As we have other sites coming over to DO, we want to get this right the first time and, though we like serverpilot, we are not tied to it.

We are running on the latest version of Ubuntu.

1 Answer

I cannot speak to whether this is possible with ServerPilot but our own one-click Wordpress image which uses the versions of Apache and PHP provided by Ubuntu would support installing interbase support with:

apt-get update;
apt-get install php5-interbase;
service apache2 restart;
Have another answer? Share your knowledge.