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

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

WBOY
Release: 2016-06-06 20:19:09
Original
1524 people have browsed it

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

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

回复内容:

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

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

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

Related labels:
php
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