Fatal error: Call to undefined function sqlsrv_connect() wamp

点点圈 提交于 2020-01-07 08:31:54

问题


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.



来源:https://stackoverflow.com/questions/23881636/fatal-error-call-to-undefined-function-sqlsrv-connect-wamp

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!