我有windows server 2012
个SQL Server数据库。我安装了xampp以便通过php pdo模块运行php脚本。
此php应用程序在windows server 2008
的其他系统中可以正常工作,但这里我有此错误
致命错误:消息为'SQLSTATE [08001]的未捕获异常'PDOException':[Microsoft] [ODBC [SQL Server] TCP提供程序的驱动程序11:超时错误[258]。在 C:\ xampp \ htdocs \ app ... \ index.php:20堆栈跟踪:#0 C:\ xampp \ htdocs \ app ... \ index.php(20): PDO-> __ construct('sqlsrv:Server = 1 ...','username','pass')#1 {main}在第20行的C:\ xampp \ htdocs \ app ... \ index.php中抛出
有什么主意吗?