PHP connects to various versions of SQL Server

Source: Internet
Author: User


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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.