How to install ODBC on cPanel
You can install ODBC using the following steps. First you need to make sure you have the unixODBC and unixODBC-devel RPM installed for your system. If it is not installed you can simply install it by using the following command.
yum -y install unixODBC unixODBC-devel
Once it is installed, do the following steps:
and add the following to it.
Now run easyapache without changing anything, and it will compile ODBC in to PHP.
You can verify the ODBC module is installed on PHP by the following command.
php -m | grep odbc
If you like this post and wish to receive more articles from us, please like our FB page: Grepitout
Your suggestions and feedbacks will encourage us and help to improve further, please feel free to write your comments.
For more details on our services, please drop us an E-mail at email@example.com
How to open kernel prompt in c-panel to write these commands?