PHP Configuration MSSQL problem

Source: Internet
Author: User
Recently to use PHP plus sqlsever configuration, follow the instructions to configure PHP

1. Open php.in to remove the extension=php_mssql.dll annotation symbol.

2. Open php.in to change mssql.secure_connection = off to ON.

3, copy the Php_mssql.dll to the php.in extension_dir the specified directory or the system system32 directory. (Php_mssql.dll is available in the PHP compression installation package).

You will need to restart Apache after the above steps have been completed.

Note: In practice, it is found that the machine must be restarted, not just IIS, if it is manually installed through PHP compressed files to IIS.

4, need to ensure that PHP or system system system32 under the Ntwdblib.dll, check the properties to ensure that its version is 8.00.194 instead of 7.0 ...
But still can not, I use is phpnow of integration environment, in the local test, found or reported fatal error:call to undefined function mssql_connect () This error, have to know exactly how to configure it?


Reply to discussion (solution)

php5.3 is a watershed, and the support for MSSQL is very different.
You figure out the PHP version first.

php5.3 is a watershed, and the support for MSSQL is very different.
You figure out the PHP version first.
My PHP version is 5.2.14

On the internet to check a bit sqlsrv useful this substitute, but there is what drive what, do not understand AH!!!

Who has php_sqlsrv.dll, php_sqlsrv_ts.dll trouble hair. Online search for n long is not ....

You download Wamp This integration environment, his Ext folder has a lot of. dll files, I used to match the combination of the time directly with its built-in DLL files, and no internet download alone.

I've also reported this mistake, but there's no way to open the php.ini file.

I've also reported this mistake, but there's no way to open the php.ini file.
Sorry, there is no way to modify

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