久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

<small id='AbxkW'></small><noframes id='AbxkW'>

      • <bdo id='AbxkW'></bdo><ul id='AbxkW'></ul>
      <i id='AbxkW'><tr id='AbxkW'><dt id='AbxkW'><q id='AbxkW'><span id='AbxkW'><b id='AbxkW'><form id='AbxkW'><ins id='AbxkW'></ins><ul id='AbxkW'></ul><sub id='AbxkW'></sub></form><legend id='AbxkW'></legend><bdo id='AbxkW'><pre id='AbxkW'><center id='AbxkW'></center></pre></bdo></b><th id='AbxkW'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='AbxkW'><tfoot id='AbxkW'></tfoot><dl id='AbxkW'><fieldset id='AbxkW'></fieldset></dl></div>

        <legend id='AbxkW'><style id='AbxkW'><dir id='AbxkW'><q id='AbxkW'></q></dir></style></legend>
        <tfoot id='AbxkW'></tfoot>

        由于 MSSQL 已被棄用,如何讓 SQLSRV 擴(kuò)展與 PHP 一起

        How do I get the SQLSRV extension to work with PHP, since MSSQL is deprecated?(由于 MSSQL 已被棄用,如何讓 SQLSRV 擴(kuò)展與 PHP 一起使用?)

      1. <small id='8F2ui'></small><noframes id='8F2ui'>

          1. <tfoot id='8F2ui'></tfoot>
              <bdo id='8F2ui'></bdo><ul id='8F2ui'></ul>

              <legend id='8F2ui'><style id='8F2ui'><dir id='8F2ui'><q id='8F2ui'></q></dir></style></legend>
              <i id='8F2ui'><tr id='8F2ui'><dt id='8F2ui'><q id='8F2ui'><span id='8F2ui'><b id='8F2ui'><form id='8F2ui'><ins id='8F2ui'></ins><ul id='8F2ui'></ul><sub id='8F2ui'></sub></form><legend id='8F2ui'></legend><bdo id='8F2ui'><pre id='8F2ui'><center id='8F2ui'></center></pre></bdo></b><th id='8F2ui'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='8F2ui'><tfoot id='8F2ui'></tfoot><dl id='8F2ui'><fieldset id='8F2ui'></fieldset></dl></div>
                  <tbody id='8F2ui'></tbody>
                • 本文介紹了由于 MSSQL 已被棄用,如何讓 SQLSRV 擴(kuò)展與 PHP 一起使用?的處理方法,對(duì)大家解決問題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

                  問題描述

                  我升級(jí)到 PHP 5.3,發(fā)現(xiàn)缺少 php_mssql.dll.在谷歌搜索了一下之后,似乎 5.3 已經(jīng)放棄了對(duì) mssql 的支持.所以我從微軟下載了驅(qū)動(dòng)程序,但我似乎無法讓它工作.

                  I upgraded to PHP 5.3, and noticed that php_mssql.dll is missing. After googling a bit, it seems that 5.3 has dropped support for mssql. So I downloaded the drivers from microsoft, but I can't seem to get it to work.

                  我在窗戶上.在我的 PHP 5.3 的 ext 目錄中解壓文件后,我需要做什么?

                  I am on windows. What do I need to do, after I unzip the files in the ext directory of my PHP 5.3?

                  推薦答案

                  引用 http://php.net/手冊(cè)/en/intro.mssql.php:

                  MSSQL 擴(kuò)展在使用 PHP 5.3 或更高版本的 Windows 上不再可用.SQLSRV,Microsoft 提供的 MS SQL 替代驅(qū)動(dòng)程序:? http://msdn.microsoft.com/en-us/sqlserver/ff657782.aspx.

                  The MSSQL extension is not available anymore on Windows with PHP 5.3 or later. SQLSRV, an alternative driver for MS SQL is available from Microsoft: ? http://msdn.microsoft.com/en-us/sqlserver/ff657782.aspx.

                  下載后,請(qǐng)按照此頁面上的說明進(jìn)行操作:

                  Once you downloaded that, follow the instructions at this page:

                  • 為 SQL Server 加載適用于 PHP 的 Microsoft 驅(qū)動(dòng)程序

                  簡而言之:

                  將驅(qū)動(dòng)程序文件放在您的 PHP 擴(kuò)展目錄中.
                  修改 php.ini 文件以包含驅(qū)動(dòng)程序.例如:

                  Put the driver file in your PHP extension directory.
                  Modify the php.ini file to include the driver. For example:

                  extension=php_sqlsrv_53_nts_vc9.dll  
                  

                  重新啟動(dòng) Web 服務(wù)器.

                  Restart the Web server.

                  另見(從該頁面復(fù)制)

                  • 系統(tǒng)要求(適用于 SQL Server 的 PHP 的 Microsoft 驅(qū)動(dòng)程序)
                  • 入門
                  • 編程指南
                  • SQLSRV 驅(qū)動(dòng)程序 API 參考(Microsoft Drivers for PHP for SQL Server)

                  SQLSRV 擴(kuò)展的 PHP 手冊(cè)位于 http://php.net/manual/en/sqlsrv.installation.php 并提供以下安裝:

                  The PHP Manual for the SQLSRV extension is located at http://php.net/manual/en/sqlsrv.installation.php and offers the following for Installation:

                  通過將適當(dāng)?shù)?DLL 文件添加到 PHP 擴(kuò)展目錄和 php.ini 文件的相應(yīng)條目來啟用 SQLSRV 擴(kuò)展.SQLSRV 下載帶有幾個(gè)驅(qū)動(dòng)程序文件.您使用哪個(gè)驅(qū)動(dòng)程序文件將取決于 3 個(gè)因素:您使用的 PHP 版本,您使用的是線程安全的還是非線程安全的 PHP,以及您的 PHP 安裝是使用 VC6 還是 VC9 編譯器編譯的.例如,如果您運(yùn)行的是 PHP 5.3,您使用的是非線程安全的 PHP,并且您的 PHP 安裝是使用 VC9 編譯器編譯的,那么您應(yīng)該使用 php_sqlsrv_53_nts_vc9.dll 文件.(如果您使用 IIS 作為您的 Web 服務(wù)器,則應(yīng)使用使用 VC9 編譯器編譯的非線程安全版本).如果您運(yùn)行的是 PHP 5.2,您使用的是線程安全的 PHP,并且您的 PHP 安裝是使用 VC6 編譯器編譯的,那么您應(yīng)該使用 php_sqlsrv_52_ts_vc6.dll 文件.

                  The SQLSRV extension is enabled by adding appropriate DLL file to your PHP extension directory and the corresponding entry to the php.ini file. The SQLSRV download comes with several driver files. Which driver file you use will depend on 3 factors: the PHP version you are using, whether you are using thread-safe or non-thread-safe PHP, and whether your PHP installation was compiled with the VC6 or VC9 compiler. For example, if you are running PHP 5.3, you are using non-thread-safe PHP, and your PHP installation was compiled with the VC9 compiler, you should use the php_sqlsrv_53_nts_vc9.dll file. (You should use a non-thread-safe version compiled with the VC9 compiler if you are using IIS as your web server). If you are running PHP 5.2, you are using thread-safe PHP, and your PHP installation was compiled with the VC6 compiler, you should use the php_sqlsrv_52_ts_vc6.dll file.

                  驅(qū)動(dòng)程序也可以與 PDO 一起使用.

                  這篇關(guān)于由于 MSSQL 已被棄用,如何讓 SQLSRV 擴(kuò)展與 PHP 一起使用?的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

                  【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請(qǐng)聯(lián)系我們刪除處理,感謝您的支持!

                  相關(guān)文檔推薦

                  Deadlock exception code for PHP, MySQL PDOException?(PHP、MySQL PDOException 的死鎖異常代碼?)
                  PHP PDO MySQL scrollable cursor doesn#39;t work(PHP PDO MySQL 可滾動(dòng)游標(biāo)不起作用)
                  PHP PDO ODBC connection(PHP PDO ODBC 連接)
                  Using PDO::FETCH_CLASS with Magic Methods(使用 PDO::FETCH_CLASS 和魔術(shù)方法)
                  php pdo get only one value from mysql; value that equals to variable(php pdo 只從 mysql 獲取一個(gè)值;等于變量的值)
                  MSSQL PDO could not find driver(MSSQL PDO 找不到驅(qū)動(dòng)程序)

                  <small id='56yEA'></small><noframes id='56yEA'>

                  • <bdo id='56yEA'></bdo><ul id='56yEA'></ul>
                          <tbody id='56yEA'></tbody>

                          <legend id='56yEA'><style id='56yEA'><dir id='56yEA'><q id='56yEA'></q></dir></style></legend>
                          <tfoot id='56yEA'></tfoot>
                          1. <i id='56yEA'><tr id='56yEA'><dt id='56yEA'><q id='56yEA'><span id='56yEA'><b id='56yEA'><form id='56yEA'><ins id='56yEA'></ins><ul id='56yEA'></ul><sub id='56yEA'></sub></form><legend id='56yEA'></legend><bdo id='56yEA'><pre id='56yEA'><center id='56yEA'></center></pre></bdo></b><th id='56yEA'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='56yEA'><tfoot id='56yEA'></tfoot><dl id='56yEA'><fieldset id='56yEA'></fieldset></dl></div>
                            主站蜘蛛池模板: 中文字幕在线三区 | 亚洲精品欧美一区二区三区 | 成人不卡| 欧美三级电影在线播放 | 人人干天天干 | 久久久久亚洲精品中文字幕 | 亚洲精品视频久久 | 亚洲精品国产a久久久久久 午夜影院网站 | 一区二区三区免费 | 国产精品久久久久久久久久软件 | 日本黄色不卡视频 | 色综合一区二区 | 欧美一区二区大片 | 亚洲黄色国产 | 欧美在线一区二区三区 | 日韩精品一区二区三区第95 | 亚洲国产成人精品在线 | 综合九九 | 久久999| 99久久免费精品国产男女高不卡 | 一区二区三区在线观看视频 | 91电影院| 久久综合久久综合久久 | 天天干天天操天天射 | 黄色免费网站在线看 | 久久精品久久久久久 | 亚洲电影中文字幕 | 亚洲综合日韩精品欧美综合区 | 国产综合久久久久久鬼色 | 激情五月婷婷丁香 | 精品国产亚洲一区二区三区大结局 | 国产亚洲黄色片 | 国产成人精品久久 | 伊人免费在线观看 | 欧美一级片黄色 | 亚洲色图网址 | 韩国成人在线视频 | 龙珠z国语版在线观看 | 米奇7777狠狠狠狠视频 | 日日夜夜操天天干 | 成人激情视频 |