Fatal error: Call to undefined function sqlsrv_con

2019-09-20 10:03发布

问题:

I have done all the following method below:

  • reinstall my 64 bit WAMP into 32 bit
  • downloaded SQLSRV30.EXE and pasted php_sqlsrv_54_ts and php_pdo_sqlsrv_54_ts in ext
  • added extension=php_sqlsrv_54_ts.dll and extension=php_pdo_sqlsrv_54_ts.dll in php.ini
  • installed MS SQL Server 2012 Native Client ODBC driver

Repeated those steps a few times and my phpinfo() still does not has the sqlsrv section. What should I do now?

回答1:

I always perform installations trhought Webplatform installer

Try it installation it's very easy.



标签: php wamp sqlsrv