Connection with Sql server on Windows [message #180434] |
Thu, 14 February 2013 12:37 |
amitjaluf
Messages: 5 Registered: February 2013
Karma: 0
|
Junior Member |
|
|
Hello all,
I have problem with the connectivity(with sql-server). its not working beause i am using "sqlsrv_connect( string $serverName [, array $connectionInfo])" it shows the error. I also copy the .dll file but not working.
Dll files:-
php_sqlsrv_53_ts_vc9.dll
what do do next...
please suggest me......
|
|
|
Re: Connection with Sql server on Windows [message #180436 is a reply to message #180434] |
Thu, 14 February 2013 13:53 |
Arno Welzel
Messages: 317 Registered: October 2011
Karma: 0
|
Senior Member |
|
|
Am 14.02.2013 13:37, schrieb Amit Jaluf:
> Hello all,
> I have problem with the connectivity(with sql-server). its not working beause
> i am using sqlsrv_connect( string $serverName [, array $connectionInfo])"
> it shows the error. I also copy the .dll file but not working.
*What* error?
> Dll files:-
> php_sqlsrv_53_ts_vc9.dll
>
> what do do next...
Did you install an Microsoft SQL Server Client? The PHP-DLL is only a
wrapper to provide the sqlsrv_...-functions and does not talk directly
to the server.
--
Arno Welzel
http://arnowelzel.de
http://de-rec-fahrrad.de
|
|
|
Re: Connection with Sql server on Windows [message #180437 is a reply to message #180434] |
Thu, 14 February 2013 15:07 |
Leonardo Azpurua
Messages: 46 Registered: December 2010
Karma: 0
|
Member |
|
|
"Amit Jaluf" <amitjaluf(at)gmail(dot)com> escribió en el mensaje
news:c31a32f1-4b04-4774-9e2a-3eec9118e4fa(at)googlegroups(dot)com...
> Hello all,
> I have problem with the connectivity(with sql-server). its not working
> beause i am using "sqlsrv_connect( string $serverName [, array
> $connectionInfo])" it shows the error. I also copy the .dll file but not
> working.
> Dll files:-
> php_sqlsrv_53_ts_vc9.dll
>
> what do do next...
> please suggest me......
I had problems with that, too.
I had to install XP SP3 (in newer Windows releases, it should work as it
is).
Additionally, I had to install the SQL Server Native Client 8 (or a later
version). It seems to depend on .NET 3.5 (or later).
For XP, only V2 of the driver (SQLSRV20.EXE) worked (PHP 5.3.11 for Win,
compiled ith VC++9).
I guess that the key piece if the native client, anyway.
Good Luck!
|
|
|