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

      • <bdo id='pnO4C'></bdo><ul id='pnO4C'></ul>
      <tfoot id='pnO4C'></tfoot>

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

        尝试使用 MySQLi 时内存耗尽

        时间:2023-09-25
        <tfoot id='CfIlU'></tfoot>
          <bdo id='CfIlU'></bdo><ul id='CfIlU'></ul>
        • <legend id='CfIlU'><style id='CfIlU'><dir id='CfIlU'><q id='CfIlU'></q></dir></style></legend>
            <tbody id='CfIlU'></tbody>

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

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

                • 本文介绍了尝试使用 MySQLi 时内存耗尽的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  我正在使用 MysqliDb 类.

                  I am using MysqliDb Class from there.

                  https://github.com/ajillion/PHP-MySQLi-Database-Class/blob/master/MysqliDb.php

                  当我在本地电脑上使用时,我没有任何问题.但是我昨天买了主机.我大约 5 分钟前上传了我的文件,但不起作用.我检查了我的主机并创建了 error_log 文件和这个..

                  When i used on local pc, i don't have any problem. But I bought host yesterday. And I uploaded my files about 5 min ago and doesn't work. I checked my host and created error_log file and this..

                  PHP Fatal error:  Allowed memory size of 75497472 bytes exhausted (tried to allocate 4294967296 bytes) in /home/(..)/MysqliDb.php on line 417
                  

                  这是什么问题?

                  我在我的配置文件中使用了这段代码.但同样没有奏效.

                  I used this code on my config file. But same didn't work.

                  ini_set('memory_limit', '192M');
                  

                  推荐答案

                  我认为那是您在数据库中使用了 LongText.

                  I think that is that you are using LongText in your database.

                  请阅读此消息:https://bugs.php.net/bug.php?id=51386

                  所以在 bind_result 之前尝试mysqli::store_result.

                  So try to mysqli::store_result before bind_result.

                  这篇关于尝试使用 MySQLi 时内存耗尽的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:使用 Blob 将图像上传到 MySQL 数据库 下一篇:mysqli : 严格的标准:只应通过引用传递变量

                  相关文章

                  最新文章

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

                    <bdo id='oaIsD'></bdo><ul id='oaIsD'></ul>

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

                    1. <legend id='oaIsD'><style id='oaIsD'><dir id='oaIsD'><q id='oaIsD'></q></dir></style></legend>