Re: PHP with MS SQL on Windows Box

From: Jochen Daum (jochen.daum_at_cans.co.nz)
Date: 02/16/04


Date: Tue, 17 Feb 2004 11:34:57 +1300

Hi Kieran!

On Mon, 16 Feb 2004 19:50:00 +0000, Kieran Benton
<kieranbenton@fastmail.fm> wrote:

>Hi everyone,
>Sorry to bother you, have just spent the last few hours trying to solve
>this. Have uncommented the line in php.ini, ensured the client tools are
>installed. However when I try and view a PHP page now, the browser just
>hangs indefinitely. If i take away the line in php.ini everything
>returns to normal. Have heard I have to recompile with the freetds
>library but am i not right in saying that is for unix/linux?

I think you are right. Do you use a named based resolution to get to
your SQL server or an IP address? Can you do

ping nameofsqlserver

telnet nameofsqlserver 1433
telnet ipaddressofsql 1433

Is SQL server listening on named pipes or tcp. Must be tcp afaik.

HTH, Jochen

-- 
Jochen Daum - Cabletalk Group Ltd.
PHP DB Edit Toolkit -- PHP scripts for building
database editing interfaces.
http://sourceforge.net/projects/phpdbedittk/