PHP:使用Apache和Wamp服务器的不同Windows用户凭据
在我的公司中,我们目前正在使用BD查询的SQLSRV驱动程序运行WAMP服务器,我们希望将Windows Authentication用于SQLSRV连接而不是SQL auth,但是 default Windows用户与用户不同。我们需要访问SQLSRV主机。
我正在寻找一种在使用PHP中使用Windows身份验证时,将凭据从默认用户更改为新用户的方法。我想知道是否可以从Apache配置或Wamp Server中的其他工具进行操作。
我尝试以其他用户的身份开始Apache服务,而整个WAMP服务器都作为不同的用户,但没有区别。
In my company we are currently running a WAMP server with SQLSRV drivers for our BD query's, we are looking to use Windows Authentication for SQLSRV connection instead of SQL AUTH , But the default Windows User where the WAMP server is different from the user we need to access the SQLSRV host.
Im looking for a way to change the credentials from the default user to a new user when using Windows Authentication in PHP. I was wondering if is possible to do it from Apache configuration or other tool inside WAMP server.
I have tried starting Apache service as a different user, and the entire WAMP server as different user, but make no difference.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论