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?