ODBC Driver for GraphQL

Build 23.0.8839


This section describes the dependencies for using PHP with the CData ODBC Driver for GraphQL.

Configure unixODBC (Linux Only)

PHP uses unixODBC on Linux, so make sure the driver is configured as described in Using unixODBC before continuing.

Install Unified ODBC


Most Linux distributions distribute ODBC support in their own packages apart from core PHP. Usually the package is named php-odbc.

# Debian, Ubuntu and related distributions
$ apt install php-odbc

# Red Hat, CentOS and related distributions
$ yum install php-odbc


On Windows, PHP is typically distributed with built-in ODBC support, so no extra packages are required.


On recent versions of Mac, the built-in PHP is not compiled with support for ODBC. Refer to the iODBC documentation for instructions on how to compile a version of PHP with iODBC support.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 23.0.8839