<tfoot id='MEHHk'></tfoot>

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

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

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

      mysqli 持久连接

      时间:2023-07-29

      <legend id='ucVpm'><style id='ucVpm'><dir id='ucVpm'><q id='ucVpm'></q></dir></style></legend>
          <bdo id='ucVpm'></bdo><ul id='ucVpm'></ul>

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

        • <tfoot id='ucVpm'></tfoot>
              <tbody id='ucVpm'></tbody>

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

              1. 本文介绍了mysqli 持久连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                问题描述

                简而言之,是否有某种 mysqli_pconnect 用于高使用率的 PHP &MySQL 服务器,还是我需要坚持使用未改进的 mysql?如果是这样,他们为什么要删除它?

                In short, is there some sort of mysqli_pconnect for high-usage PHP & MySQL servers, or do I need to stick with mysql unimproved? And if so, why did they remove it?

                推荐答案

                对此的支持是在 PHP 5.3 中引入的.对于此之前的版本,PDO 和 - 上帝保佑 - mysql 扩展是唯一的选择.

                Support for this was introduced in PHP 5.3. For versions before this, PDO and – god forbid – the mysql extension are the only options.

                引用手册:

                与mysql扩展不同,mysqli没有提供单独的开启持久连接的功能.要打开持久连接,您必须在连接时将 p: 添加到主机名.

                Unlike the mysql extension, mysqli does not provide a separate function for opening persistent connections. To open a persistent connection you must prepend p: to the hostname when connecting.

                这篇关于mysqli 持久连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                上一篇:mysqli_query() 总是返回真 下一篇:警告:mysqli_connect():未知的 MySQL 服务器主机

                相关文章

                最新文章

              2. <tfoot id='WvD2I'></tfoot>
              3. <small id='WvD2I'></small><noframes id='WvD2I'>

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

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