本文介绍了如何使用 xampp 将 sql server 与
问题描述
我正在尝试使用 Xampp 将我的 SQL 服务器与
I am trying to connect my SQL server with
<?
当我尝试这个时出现这个错误-
I am getting this error when I had tried this-
致命错误:未捕获的错误:调用未定义的函数C:xampphtdocsiometricdb.
任何人都知道我做错了什么或如何连接数据库.
Anyone has an idea where I am doing wrong or how to connect with the database.
推荐答案
安装 sqlsrv
和/或 pdo_sqlsrv
Installation of sqlsrv and/or pdo_sqlsrv
- Based on Microsoft
- Download and install an appropriate ODBC driver - see System Requirements for the Microsoft Drivers for
- Load
- Restart Apache
使用检查配置.应该有一个名为
pdo_sqlsrv
(如果你使用 PDO)和/或 sqlsrv
(没有 PDO)的部分.
这篇关于如何使用 xampp 将 sql server 与