• <small id='ZtBL2'></small><noframes id='ZtBL2'>

    <legend id='ZtBL2'><style id='ZtBL2'><dir id='ZtBL2'><q id='ZtBL2'></q></dir></style></legend>

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

        如何配置 XAMPP 以与 MSSQL 一起使用?

        How to configure XAMPP to use with MSSQL?(如何配置 XAMPP 以与 MSSQL 一起使用?)
        <tfoot id='yxogT'></tfoot>

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

            <legend id='yxogT'><style id='yxogT'><dir id='yxogT'><q id='yxogT'></q></dir></style></legend>

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

                  本文介绍了如何配置 XAMPP 以与 MSSQL 一起使用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我正在尝试将 XAMPP 配置为与 MSSQL 一起使用.我正在关注这个:Example 但我还是成功了.

                  I'm trying configure XAMPP to use with MSSQL. I'm following this: Example but I still had success.

                  我将文件: php_pdo_sqlsrv_54_ts.dllphp_sqlsrv_54_ts.dll 复制到文件夹 c:xamppphpext 并配置 >php.inic:xamppphpphp.ini 中.

                  I copied the files: php_pdo_sqlsrv_54_ts.dll and php_sqlsrv_54_ts.dll to folder c:xamppphpext and configured php.ini in c:xamppphpphp.ini.

                  php.ini 我激活了扩展:extension=php_pdo_sqlsrv_54_ts.dllextension=php_sqlsrv_54_ts.dll 并创建了 PDO 部分.<代码>[Pdo_sqlsrv]pdo_sqlsrv.log_severity=-1.

                  In php.ini I activated the extensions: extension=php_pdo_sqlsrv_54_ts.dll and extension=php_sqlsrv_54_ts.dll and created PDO section. [Pdo_sqlsrv] pdo_sqlsrv.log_severity=-1.

                  我正在使用 XAMPP v3.2.1 和 PHP 5.6.11

                  I am using XAMPP v3.2.1 and PHP 5.6.11

                  我怎样才能使它工作?

                  推荐答案

                  PHP5.6需要下载SQLSRV32.EXE,将 php_pdo_sqlsrv_56_ts.dll 和 php_sqlsrv_56_ts.dll 放到 ext 文件夹中,最后在 php.ini 上注册这些扩展,如下所示:

                  For PHP5.6 vou need download SQLSRV32.EXE, after it put the php_pdo_sqlsrv_56_ts.dll and php_sqlsrv_56_ts.dll on ext folder and finally register those extension on php.ini, like this:

                  extension=php_sqlsrv_56_ts.dll
                  extension=php_pdo_sqlsrv_56_ts.dll
                  

                  重启 apache 并尝试 phpinfo() 或者你可以使用 getAvailableDrivers()

                  Restart apache and try phpinfo()or you could use getAvailableDrivers()

                  <?php
                     echo "<pre>";
                     print_r(PDO::getAvailableDrivers());
                  

                  这篇关于如何配置 XAMPP 以与 MSSQL 一起使用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Converting string to MySQL timestamp format in php(在php中将字符串转换为MySQL时间戳格式)
                  datetime to timestamp(日期时间到时间戳)
                  PHP timestamp date to user timezone(PHP时间戳日期到用户时区)
                  Converting TIMESTAMP to unix time in PHP?(在 PHP 中将 TIMESTAMP 转换为 unix 时间?)
                  Convert ISO 8601 to unixtimestamp(将 ISO 8601 转换为 unixtimestamp)
                  Finding days between 2 unix timestamps in php(在php中查找2个unix时间戳之间的天数)
                  <tfoot id='ppJgA'></tfoot>

                      <bdo id='ppJgA'></bdo><ul id='ppJgA'></ul>
                      <i id='ppJgA'><tr id='ppJgA'><dt id='ppJgA'><q id='ppJgA'><span id='ppJgA'><b id='ppJgA'><form id='ppJgA'><ins id='ppJgA'></ins><ul id='ppJgA'></ul><sub id='ppJgA'></sub></form><legend id='ppJgA'></legend><bdo id='ppJgA'><pre id='ppJgA'><center id='ppJgA'></center></pre></bdo></b><th id='ppJgA'></th></span></q></dt></tr></i><div id='ppJgA'><tfoot id='ppJgA'></tfoot><dl id='ppJgA'><fieldset id='ppJgA'></fieldset></dl></div>
                          <tbody id='ppJgA'></tbody>
                        1. <small id='ppJgA'></small><noframes id='ppJgA'>

                            <legend id='ppJgA'><style id='ppJgA'><dir id='ppJgA'><q id='ppJgA'></q></dir></style></legend>