Home >Backend Development >PHP Tutorial >How to connect PHP6 to SQLServer2005, php6sqlserver2005_PHP tutorial
1. Modify php.ini, delete the comment of extension=php_mssql.dll and save .
Modify php.in to change mssql.secure_connection = Off to mssql.secure_connection = On.
2. Download ntwdblib.dll (2000.80.194.0) for 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.