Php5.3 and mssql-php Tutorial

Source: Internet
Author: User
Php5.3fastcgi can run properly after php5.3 and mssql are successfully configured. when extensionphp_sqlsrv_53_nts_vc9.dll is used, sqlsrvsupportenabled is also displayed, which should be successfully configured. because the previous program connection was mssql_connect (DB_HOST, DB_USER, DB_PASSWORD). on the platform 5.2, it was confirmed by php5.3 and mssql.
Php5.3 fastcgi is successfully configured to run properly.
Use extension = php_sqlsrv_53_nts_vc9.dll
Also, sqlsrv support enabled should be successfully configured.
Because the previous program connection is mssql_connect (DB_HOST, DB_USER, DB_PASSWORD)
It is possible on the platform of 5.2.
PHP Fatal error: Call to undefined function mssql_connect ()
I have checked some instructions. it seems that I have used sqlsrv_connect to connect the database. The original mssql_connect cannot be used.
So I come up with some predecessors to determine whether it is like this. if it is like this, I will not be able to make any effort. I think it is necessary to use a new function to connect. I want to modify the program.

------ Solution --------------------
Yes, it is connected using sqlsrv_connect. The original mssql_connect cannot be used.

------ Solution --------------------
Yes. Other functions may have to begin with sqlsrv. Refer to the following link:
Http://wenku.baidu.com/view/0308d31ca76e58fafab003f7.html

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.