We help IT Professionals succeed at work.

Installing moodle on sql server on red hat linux

ajiniya asked
I want to know how it's possible to use freetds native sql library to connect to Microsoft sql server on red hat linux .how it can be downloaded and compiled on httpd 2.4 and php 5.4.20
Watch Question

Phil PhillipsSenior Platform Engineer

You should be able to install the module by running as root:

yum install php-mssql

Open in new window


I am using redhat enterprise Linux 6.4 and couldn't find when used yum install php-mssql
Fixer of Problems
Most Valuable Expert 2014
It's not in the standard repository but it is supposed to be in the EPEL repository.  More info about installing and using EPEL here: http://fedoraproject.org/wiki/EPEL   You should know that php-mssql and freetds are fairly old packages and they don't support some of the newer datatypes in newer versions of SQL Server.