Step 1. yum install unixODBC unixODBC-devel
Step 2. Install Freedts:
cd /usr/local/src
wget http://ibiblio.org/pub/Linux/ALPHA/freetds/stable/freetds-stable.tgz
tar zfvx freetds-stable.tgzcd freetds-*;
./configure --prefix=/usr/local/freetds --with-tdsver=8.0 --enable-msdblib --enable-dbmfix --with-gnu-ld; make ; make install
echo "--with-mssql=/usr/local/freetds" >> /var/cpanel/easy/apache/rawopts/all_php5
touch /usr/local/freetds/lib/libtds.a
touch /usr/local/freetds/include/tds.h
ln -s /usr/local/freetds/lib/ /usr/local/freetds/lib64
Step 3. Enable MSSQL.SO
Run EasyApache and select MySQL and MySQLi support.
# php --info |grep "mssql"
MSSQL Support => enabled
Or view in PHPINFO File.
Thats it.........