Hi,
I've been in contact with support a bit regarding this, and also looked on the forum but having a slight problem.
I followed the following instructions (http://forums.cpanel.net/showthread....hlight=MSSQL):
I added '--with-mssql=/usr/local/freetds' to /var/cpanel/easy/apache/rawopts/all_php51-. Download freetds -> www.freetds.org
2-. tar -zxvf freetds-stable-tgz
3-. cd freetds-*
4-. ./configure --prefix=/usr/local/freetds --with-tdsver=8.0 --enable-msdblib --enable-dbmfix --with-gnu-ld
5-. make
6-. make install
7-. /usr/local/freetds/bin/tsql -S <ip of the server> -U <User SQL>
8-. Add the next text in freetds.conf ( /usr/local/freetds/etc )
[TDS]
host = <ip of the Server with Sql>
port = 1433
tds version = 8.0
9-. Add the following line in the file /etc/ld.so.conf and run ldconfig -v:
/usr/local/freetds/lib
10- Recompile PHP with --with-mssql=/usr/local/freetds flag.
I'm trying to re-build Apache/PHP with above, but it's erroring on the following part:
A 'whereis freetds' shows that the install dir is right:checking for MSSQL support via FreeTDS... yes
configure: error: Directory /usr/local/freetds is not a FreeTDS installation
directory
Anyone have any ideas? I'm quite a newbie to Linux, and just followed the instructions above.[root@web rawopts]# whereis freetds
freetds: /usr/local/etc/freetds.conf /usr/local/freetds
Cheers



LinkBack URL
About LinkBacks
Reply With Quote






