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

2007-08-20 Thread Andrew Ballard
> ... but the > second comment seems helpful. > > [1] http://www.php.net/manual/en/function.mssql-connect.php For SQL Server 2005, getting the right version of that ntwdblib.dll is crucial. However, Microsoft has apparently abandoned the NTWDBLIB library, so I have begun working with PDO ODBC inst

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

2007-08-17 Thread Kirk Friggstad
On 8/17/07, Gregory Machin <[EMAIL PROTECTED]> wrote: > with the suggested config i get the following > > Warning: mssql_connect() [function.mssql-connect]: Unable to connect > to server: (local)\SQLEXPRESS in C:\wamp\www\test\test.php on line 8 > Couldn't connect to SQL Server on (local)\SQLEXPRES

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

2007-08-17 Thread Tijnema
On 8/16/07, Gregory Machin <[EMAIL PROTECTED]> 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 serve

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

2007-08-17 Thread Gregory Machin
with the suggested config i get the following Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: (local)\SQLEXPRESS in C:\wamp\www\test\test.php on line 8 Couldn't connect to SQL Server on (local)\SQLEXPRESS this is my connection script wrote: > SQL Server Express d

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

2007-08-16 Thread Kirk Friggstad
SQL Server Express defaults to installing as a named instance - assuming that you're running Apache/PHP on the same machine as SQL Server Express, I believe you'll want to use "(local)\SQLEXPRESS" as the host to connect to. If it's on a different machine, you'll want to use "MACHINENAME\SQLEXPRESS"

[PHP] php 5 and ms sql server express won't play nice !

2007-08-16 Thread Gregory Machin
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,