The connection between PHP and MSSQL Server database is not configured_PHP tutorial

WBOY
Release: 2016-07-21 14:56:31
Original
853 people have browsed it

Problem description: During conversion, the error message "The connection between PHP and MSSQL Server database is not configured!"

Problem analysis: This error message may appear only when the original database type is an MSSQL database. This is usually caused by PHP not loading the MSSQL module correctly.

Solution:

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

2. If you have administrative rights to the server, please see the solution below

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

 ;extension=php_mssql.dll

Remove the semicolon in front and restart the web server.

If the above code is not found, please add the following code to php.ini, save, and restart the web server:

 extension=php_mssql.dll

If your server is a Linux system, please recompile PHP so that it can successfully load the MSSQL module.

 2. Check whether there is php_mssql.dll in the PHP installation root directory ext. If not, please download the corresponding PHP version of php_mssql.dll and copy it to the directory

3. Download the attachment, unzip it, copy ntwdblib.dll to c:/windows/system32/, and then restart the web server.

Attachment download>>>

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/364260.htmlTechArticleProblem description: During conversion, the connection between PHP and MSSQL Server database is not configured! Error prompt Problem analysis: Only It is possible only when the original database type is an MSSQL database...
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template