FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Connection with Sql server on Windows
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Connection with Sql server on Windows [message #180434] Thu, 14 February 2013 12:37 Go to next message
amitjaluf is currently offline  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 Go to previous messageGo to next message
Arno Welzel is currently offline  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 Go to previous message
Leonardo Azpurua is currently offline  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!
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Multidimensional Arrays
Next Topic: APC to cache application in full?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Jun 04 16:47:20 GMT 2024

Total time taken to generate the page: 0.02657 seconds