Currently there is no script for installing php mssql extension in cpanel server. You have to install it manually.
You need to install a few modules before installing the MsSQL extension.
1. unixODBC
2. freeTDS
3. mssql.so
Do not use rpms as it will show lots of dependency errors. Better download the source file and compile it.
Install unixODBC package
Download source file and install using following steps.
-------
~]# wget http://www.unixodbc.org/unixODBC-2.2.14-p2.tar.gz
~]# tar -xvf unixODBC-2.2.12.tar.gz
~]# cd unixODBC-2.2.12
~]#
./configure -prefix=/usr/local -enable-gui=no (make sure you use gui
option set as 'no' else it will show error message as it don't have Qt
package)
~]# make
~]# make install
------
Install freeTDS package
--------
1. Download from...