简体   繁体   中英

I have SSL certificate on sql server but how to connect sql server 2008 2008 r2 enterprise using php

If I disable force encryption from ms-sql server, ms-sql connection is establish successfully. But when I enable force encryption from ms-sql server I get following error:

Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server:

In php.ini I am using this setting for secure connection - mssql.secure_connection on

Can anybody help me to connect ms-sql server 2008 from php?

尝试寻找一种忽略验证SSL证书的方法。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM