How to run PHP + IIS8 as Windows User, or should I?

Posted by Jake on Server Fault See other posts from Server Fault or by Jake
Published on 2013-03-19T13:18:23Z Indexed on 2013/06/28 16:24 UTC
Read the original article Hit count: 237

Filed under:
|
|

I am creating a PHP website on IIS8 that needs to connect to an SQL Server that is in the same Windows Domain as the IIS8. I am given a Windows Domain user account and asked to connect using its credentials.

I am using sqlserv_connect() for PHP and I get the error Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'

Is there a way to run PHP + IIS8 as the windows domain user? Or MUST I configure SQL Server to use SQL Authentication mode so that I can supply a username and password?

© Server Fault or respective owner

Related posts about php

Related posts about sql-server-2012