Home  >  Article  >  php教程  >  基于Sql Server 2008的分布式数据库的实践(三)

基于Sql Server 2008的分布式数据库的实践(三)

WBOY
WBOYOriginal
2016-06-13 10:17:331094browse

配置PHP

1.打开PHP配置文件,找到extension=php_mssql.dll,将前面的注释符号去掉

2.找到mssql.secure_connection,将Off改为On

 

3.找到com.allow_dcom = true,将前面的注释符号去掉

4.下载正确版本的 ntwdblib.dll (2000.80.194.0),覆盖Apache-20/bin/ntwdblib.dll、覆盖php-5.2.14-Win32/ntwdblib.dll并且复制ntwdblib.dll和php_mssql.dll到系统system32目录下,重启Apache

5.测试成功

 

转载请注明出处:http://www.cnblogs.com/yydcdut/p/3459792.html

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