Re: FreeTDS and SQL Server 7

From: Date: Tue, 16 Oct 2001 15:45:09 +0000
Subject: Re: FreeTDS and SQL Server 7
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-71227@lists.php.net to get a copy of this message
On Tuesday 16 October 2001 4:18 pm, David Derr wrote: > Hey all, I was reading an old article at php builder about conntecting > to SQL Server 7 on a Windows machine from a Linux machine via FreeTDS. > (http://www.phpbuilder.com/columns/alberto20000919.php3) [snip] > > Has anyone had sucees in getting this to work? I will include my > config and compile commands below as well as the php script that is > breaking things. [snip] We have that working reliably with the exception that I have used TDS protocol version 4.2 rather than 7.0 because I had read that this was a little less well developed, and 4.2 gives you all you need in any case. We're using slightly different components: Apache 1.3.20, PHP 4.0.6, FreeTDS 0.51 running on a Slackware 8.0 base (Linux kernel 2.2.19 with glibc 2.2.3) I've attached an HTML file of our build record for this. The other thing to note is that this approach allows you to use PHP's mssql_ calls, but only those that have direct sybase_ equivalents. So make sure you check out which calls are common to both sets of functions and don't try calls that only exist in the mssql_ function list. Regards Nick Talbott, IT Policy and Strategy Manager, Powys County Council email: nickt@powys.gov.uk fax: 01597 824781 web: www.powys.gov.uk and www.powysweb.co.uk

« previous php.general (#71227) next »