Not configured PHP connection to the MSSQL Server database _php Tutorial

Source: Internet
Author: User
Tags mssql mssql server
Problem Description: "The connection to the MSSQL Server database is not configured properly" when the conversion occurs. Error hints

Problem Analysis: This error message may occur only if the original database type is the MSSQL database. This is usually due to PHP not loading the MSSQL module properly.

Workaround:

If the space you are using is virtual space, please contact the space provider.

Second, if you have administrative rights to the server, please see the following workaround

1, if your server system is windows, then open php.ini, find:

  ; Extension=php_mssql.dll

Remove the preceding semicolon and restart the Web server.

If you do not find the above code, add the following code to php.ini, save and restart the Web server:

  Extension=php_mssql.dll

If your server is a Linux system, recompile PHP to successfully load the MSSQL module.

2, check the installation of PHP under the root directory ext Php_mssql.dll, if not, please download the corresponding PHP version of the Php_mssql.dll and copied to the directory

3, download the attachment, unzip, the ntwdblib.dll copy to c:/windows/system32/, and then restart the Web server.

Accessories Download >>>

http://www.bkjia.com/PHPjc/364260.html www.bkjia.com true http://www.bkjia.com/PHPjc/364260.html techarticle Problem Description: The connection between PHP and the MSSQL Server database is not configured when the conversion occurs! Error Analysis: Only the original database type is MSSQL database, it is possible to ...

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