Home > Backend Development > PHP Tutorial > sqlserver - PHP连接数据库

sqlserver - PHP连接数据库

WBOY
Release: 2016-06-06 20:22:25
Original
1248 people have browsed it

请问phpstudy5.3或者5.4如何连接sqlserver数据库。之前已经在sqlserver里面有不少数据了,不知道该怎么通过phpstudy连接和调用?

回复内容:

请问phpstudy5.3或者5.4如何连接sqlserver数据库。之前已经在sqlserver里面有不少数据了,不知道该怎么通过phpstudy连接和调用?

SQL Server的驱动没有集成到PHP里面,要自己下,比较麻烦。
SQL Server Driver for PHP (php_sqlsrv.dll和php_pdo_sqlsrv.dll,仅支持Windows):
http://www.microsoft.com/en-us/download/confirmation.aspx?id=20098

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