1. Modify php.ini to delete and save the comment extension=php_mssql.dll.
Modify php.in and change mssql.secure_connection = Off to mssql.secure_connection = On.
2. Download ntwdblib.dll (2000.80.194.0) for connection 2005
Click to download
3. Open the file X:AppServphp5ext and copy php_mssql.dll to the system32 directory.
Copy the downloaded ntwdblib.dll to the system32 directory.
Copy the downloaded ntwdblib.dll to the php5 directory.
This is all about the trilogy of connecting PHP6 to SQLServer2005. I don’t know if you understand it. If you have any questions, please leave me a message!
The above introduces the three steps of connecting PHP6 to SQLServer2005, including the content of sqlserver2005. I hope it will be helpful to friends who are interested in PHP tutorials.