Re: php 5 and ms sql server express won't play nice !
| From: | Tijnema | Date: | Fri, 17 Aug 2007 09:02:28 +0000 |
| Subject: | Re: php 5 and ms sql server express won't play nice ! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-260944@lists.php.net to get a copy of this message | ||
On 8/16/07, Gregory Machin <gregory.machin@gmail.com> 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@gmail.com
> 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