Questions about php5.3.x connection MSSQL2008.

Source: Internet
Author: User
My configuration is win2003+iis6+fastcgi+php5.3.28+mssql2008.
My fastcgi and PHP5.3.28 are all in the installation version.
Many examples on the web, to the Microsoft website download drive, unzip to the Ext folder,
Open php.ini at the end of the add
[Php_pdo_sqlsrv]
Extension=php_pdo_sqlsrv_53_nts_vc9.dll
[Php_sqlsrv]
Extension=php_sqlsrv_53_nts_vc9.dll
Restart IIS after saving

I have three machines, are the same environment configuration, but there is a dead and alive, Phpinfo () will not show the information of MSSQL.
Please also pay attention to what problems. Why the same configuration, there are two units can be, one is not.


Reply to discussion (solution)

Note Ntwdblib.dll
version, as if connecting 2000,2005,2008, three version numbers are different.
Look first, the PHP server and the database server network can not be connected.
Additionally, SQL Server is not set up for remote access.

  • 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.