php5.3和mssql的有关问题等确认

WBOY
Release: 2016-06-13 13:52:39
Original
810 people have browsed it

php5.3和mssql的问题等确认
成功配置php5.3 fastcgi能正常运行.
使用extension=php_sqlsrv_53_nts_vc9.dll
也出现 sqlsrv support enabled 应该是成功配置的.
因为之前的程序连接是 mssql_connect(DB_HOST,DB_USER,DB_PASSWORD)
在5.2的平台上面是可以的.
现在是 PHP Fatal error: Call to undefined function mssql_connect() 
我查看了一下一些说明,好像现在要用sqlsrv_connect这种方式连接了,原来的 mssql_connect不能用了
所以上来跟一些前辈确定一下,是否是这样子的,如果真是这样子就不再折腾了.认了是要用新的函数连接了.要修改程序了.

------解决方案--------------------
是的,要用sqlsrv_connect这种方式连接了,原来的 mssql_connect不能用了

------解决方案--------------------
应该是的。可能其他相应函数都要改成sqlsrv_开头的函数。参考下面链接:
 http://wenku.baidu.com/view/0308d31ca76e58fafab003f7.html

Related labels:
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!