利用php工具箱怎么連接sql server2012?
你可以使用navicat for sqlserver破解版管理數(shù)據(jù)庫。環(huán)境還是使用php工具箱。
我就是按裝這個兩個網(wǎng)址安裝的,你要結(jié)合使用。
http://blog.csdn.net/a250758092/article/details/70568803
http://jingyan.baidu.com/album/597a064340f909312a524364.html?picindex=3
我用的是sql server 2014,和2012連法一樣。
先要知道你用的那個版本的PHP。 根據(jù)PHP下載相應(yīng)的 mssql的DLL文件。
從這里下載?https://www.microsoft.com/en-us/download/details.aspx?id=36434
Version support for PHP is as follows?
SQLSRV40.EXE supports PHP 7.0+ on Windows and Linux?
SQLSRV32.EXE supports PHP 5.6, 5.5, and 5.4 on Windows?
SQLSRV31.EXE supports PHP 5.5 and 5.4 on Windows?
SQLSRV30.EXE supports PHP 5.4 on Windows
這是PHP版相對應(yīng)的mssql的dll文件。 我是PHP5.4.x的,我下載的是SQLSRV30.EXE。
然后根據(jù)網(wǎng)址上的教程,安裝。 ?解壓后也會有關(guān)相SQLSRV_Help.chm 使用教程,是全英文的。如果你英語很好,我就不說了。如果不好,可以把chm分解成html,然后用翻譯工具譯成中文,基本可以看懂。?
我也是開始學(xué)。