How to install pdo_dblib or php-mssql PHP module on CentOS

Created:

2016-12-12 03:47:53 UTC

Modified:

2017-08-08 13:12:11 UTC

1

Was this article helpful?


Have more questions?

Submit a request

How to install pdo_dblib or php-mssql PHP module on CentOS

Applicable to:

  • Plesk 12.5 for Linux

Question

How to install pdo_dblib or php-mssql PHP module on CentOS?

Answer

pdo_dblib PHP module is shipped with php-mssql package, which can be installed from epel repository.

Note: This module can be installed only for PHP provided by OS vendor.

  1. Connect to the server using SSH.
  2. Install epel repository:

    # yum install epel-release
  3. Install php-mssql package:

    # yum install php-mssql
Have more questions? Submit a request
Please sign in to leave a comment.