简体   繁体   中英

PHP connection with SQL server

SQL server connection shows error when using mssql_connect() or sqlsrv_connect() .Call to undefined function mssql_connect() or Call to undefined function sqlsrv_connect() error is displaying. In my server IIS and wamp server is running. can any one please help...

"The MSSQL extension is enabled by adding extension=php_mssql.dll to php.ini."

For more information : MSSQL Installing/Configuring

in the php.ini file remove the semicolon before the extention it will probably be in C:\\xampp\\php\\php.ini enable your extention by removing the semicolon change this with

 ;extension=php_mssql.dll

with

 extension=php_mssql.dll 

and restart your xampp

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM