Re: php 5 and ms sql server express won't play nice !

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/16/07, Gregory Machin <gregory.machin@xxxxxxxxx> wrote:
> Hi
> I have tried most of the configuration options in the php manual /
> examples http://www.php.net/function.mssql-connect  and I just can't
> get it to connect
> I'm running WAMP5 and have enables php_mssql.dll extentions etc ..
> sql server 2005 express has both named pipes and tcp/ip conections enabled,
> both are installed on the same machine (xp pro)...
>
> this it the error I keep getting
> Warning: mssql_connect() [function.mssql-connect]: Unable to connect
> to server: SQLEXPRESS in C:\wamp\www\test\test.php on line 8
> Couldn't connect to SQL Server on SQLEXPRESS
>
> Many Thanks in advance
> --
> Gregory Machin
> gregory.machin@xxxxxxxxx
> www.linuxpro.co.za
>

If you take a look at the comments at the manual page for
mssql_connect [1], you see that a lot of people have reported problems
with, but there are also some solutions. I don't know if they work,
because I never had any MS SQL server (MySQL rocks ;-)), but the
second comment seems helpful.

Tijnema

[1] http://www.php.net/manual/en/function.mssql-connect.php
-- 
If this is a mailing list: DO NOT TOP POST! why?:
http://www.caliburn.nl/topposting.html

Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux