how to install mssql module on centos server 6.7 -
how install mssql client module on centos server 6.7. trying install mssql client , going through process described in article http://www.geekyboy.com/archives/37/comment-page-1#comment-188819
but stuck on "yum install php-devel" . not find package.
i followed post regarding same topic mentioned have remove php* yum.conf exclude mentioned might cause problem if have whm/cpanel.
https://unix.stackexchange.com/questions/82478/cannot-install-php-packages-in-centos
i have whm/cpanel on server , trying figure out how proceed installing mssql
can please try following command.
wget http://ibiblio.org/pub/linux/alpha/freetds/stable/freetds-stable.tgz tar zfvx freetds-stable.tgz cd freetds-*; ./configure --prefix=/usr/local/freetds --with-tdsver=8.0 --enable-msdblib --enable-dbmfix --with-gnu-ld; make ; make install
add compile flag freetds /var/cpanel/easy/apache/rawopts/all_php5
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.hp
now run easy apache
/scripts/easyapache
Comments
Post a Comment