Home  >  Article  >  Backend Development  >  求大侠救活哟( PHP 连接MSSQL的有关问题)

求大侠救活哟( PHP 连接MSSQL的有关问题)

WBOY
WBOYOriginal
2016-06-13 11:26:54762browse

求大侠救活哟( PHP 连接MSSQL的问题)
环境:
1.MYSQL 安装在centos 5.9 ,
2.MSSSQL 2005 +WIN7,WIN7 上有安装(ntwdblib)版本也2005 的。

问题:
    我用PHP 连接MSSQL ,如果连接本地的可也
         $res = mssql_connect('127.0.0.1','sa','123');
     var_dump($res);
   ?>
   如果我从另外的电脑按同样的配置,防火墙也关了。相关的服务也开了.确这么也连接不成功。

Statement:
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