PHP is given by the official
http://php.net/manual/zh/ref.pdo-sqlsrv.php
650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M00/84/6E/wKiom1eQhYzD-mzjAAA055XPVuE266.png-wh_500x0-wm_3 -wmp_4-s_3482611317.png "title=" Qq20160721161839.png "alt=" Wkiom1eqhyzd-mzjaaa055xpvue266.png-wh_50 "/>
Open the link to download the PHP extension (all the versions are included)
650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M02/84/6E/wKiom1eQhf6SuLWNAAAVsbkPMMk475.png-wh_500x0-wm_3 -wmp_4-s_2178717861.png "title=" Qq20160721162026.png "alt=" Wkiom1eqhf6sulwnaaavsbkpmmk475.png-wh_50 "/>
Decompression can
then modify the extensions in php.ini (phpinfo see if your PHP version is TS or NTS):
extension=php_sqlsrv_56_nts.dll
extension=php_pdo_sqlsrv_56_nts.dll
Also configure the Msqsrv:off to change to on
Mssql.secure_connection = On
PHP connects to various versions of SQL Server