问题
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
andphp_pdo_sqlsrv_54_ts
in ext - added
extension=php_sqlsrv_54_ts.dll
andextension=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