How to Install MSSQL

cd /root
wget http://mirrors.ibiblio.org/freetds/current/freetds-current.tgz
tar -xvzf freetds-current.tgz
cd freetds-0.92.dev.20120312

./configure --prefix=/usr/local/freetds

make
make install

nano /usr/local/directadmin/custombuild/configure/ap2/configure.apache
add line
with-mssql=/usr/local/freetds \

nano /usr/local/directadmin/custombuild/configure/fpm/configure.php56
add line
with-mssql=/usr/local/freetds \

cd /usr/local/directadmin/custombuild
./build clean
./build php n

Na de install kun je controleren of MSSQL module is ingeladen:

php -m | grep mssql

krijg je onderstaande terug, dan is de extensie correct geinstalleerd 

mssql 


Bron: Thanks for howto @ http://publiqs.net


Was this article helpful?

mood_bad Dislike 0
mood Like 1
visibility Views: 11229