RE: [PHP-WIN] cant connect to mssql
| From: | Frank M. Kromann | Date: | Sat, 17 Dec 2005 04:29:43 +0000 |
| Subject: | RE: [PHP-WIN] cant connect to mssql | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-26580@lists.php.net to get a copy of this message | ||
Well this list is designated to questions about PHP on Windows platforms so
I would say that this is the right list.
As for the conection problem, I would check the security seiitings in MS
SQL Server. If the server is set to allow domain authentication you have
to use mssql.secure_connection = On in php.ini or change to configuration
to allow server logins.
- Frank
> I might venture that most of the people here use apache/mysql, so if
you're
> using iis/mssql it might just be better to ask in another mailing
list...
>
> I don't use mssql, but I think phpinfo() would not show if the library
is
> correctly loaded. Or it might be that your server config file isn't
setup
> correctly?
>
> -----Original Message-----
> From: Joakim Ling [mailto:jl@webbhuset.se]
> Sent: Tuesday, 13 December 2005 10:36 PM
> To: php windows
> Subject: [PHP-WIN] cant connect to mssql
>
> Hi
>
> I never had any troubles with php and mssql until I bought new servers.
> I'm running win2K3 & php5.
>
> phpinfo(); says that mssql library is loaded correctly, I moved the php
> libraries to windows systemdir, change the security on the libraries so
they
> can be accessed with IIS.
>
> What more to do?
>
> Warning: mssql_connect() [function.mssql-connect
> <http://www.utsiktenmeetings.se/function.mssql-connect>
> ]: Unable to
connect
> to server: w1.webbhuset.se in d:\dev\mssql.php on line 3
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>