问题
i wish to fire select query for login on user table . i am using php and ms msql server 2005 as backend
my php code is correct but my database is on other p.c in network. i need to know is there any configuration setting needed to be done. i am using xampp V 1.8.3 including php 5.5.1
回答1:
To install SQLSRV 3.0 to Apache (I assume) in Windows platform, here are the steps:
- Put the driver file in your PHP extension directory.
- Modify the php.ini file to include the driver. For example:
extension=php_sqlsrv_53_nts_vc9.dll
- Restart Apache
Then, verify the installation using phpinfo()
.
Reference: TechNet
来源:https://stackoverflow.com/questions/20563146/call-to-undefined-function-sqlsrv-connect