Home  >  Article  >  Backend Development  >  mac下mamp环境怎么配置php连接sqlserver2008

mac下mamp环境怎么配置php连接sqlserver2008

WBOY
WBOYOriginal
2016-06-06 20:19:091501browse

mac下mamp环境怎么配置php连接sqlserver2008,已经编译了mssql.so文件,并放到扩展目录下加载了。但是php代码连接还是不行。还需要哪里设置吗?

<code>$conn = mssql_connect('192.168.1.106', 'ss', 'ss') or die('connect failed');</code>

回复内容:

mac下mamp环境怎么配置php连接sqlserver2008,已经编译了mssql.so文件,并放到扩展目录下加载了。但是php代码连接还是不行。还需要哪里设置吗?

<code>$conn = mssql_connect('192.168.1.106', 'ss', 'ss') or die('connect failed');</code>

有什么报错信息吗? 请贴出来

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