Product Documentation

FairCom SQL for PHP

Previous Topic

Next Topic

Install PHP

PHP is included in many common Linux and Unix distributions. If it is not installed, it is best to install PHP on your system using the package manager, for example:

sudo apt install php php-odbc

sudo apt install php-fpm

To configure FastCGI, type the following command (this example uses the nano text editor):

sudo nano /etc/php/7.0/fpm/php.ini

Edit the php.ini file to find:

cgi.fix_pathinfo

And set it to:

cgi.fix_pathinfo=0

To restart the service:

sudo service php7.0-fpm restart

Note: PHP 4, PHP 5, or PHP 7 will work with the FairCom DB ODBC interface. The FairCom DB PHP interface that is integrated with c-tree only supports PHP 5.

TOCIndex