• <bdo id='hbByn'></bdo><ul id='hbByn'></ul>

    1. <tfoot id='hbByn'></tfoot>

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

      1. <small id='hbByn'></small><noframes id='hbByn'>

        在这个 php 配置中是否启用了 mysqli 扩展?

        时间:2023-07-29
        <tfoot id='4FwvA'></tfoot>

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

                <small id='4FwvA'></small><noframes id='4FwvA'>

              2. <i id='4FwvA'><tr id='4FwvA'><dt id='4FwvA'><q id='4FwvA'><span id='4FwvA'><b id='4FwvA'><form id='4FwvA'><ins id='4FwvA'></ins><ul id='4FwvA'></ul><sub id='4FwvA'></sub></form><legend id='4FwvA'></legend><bdo id='4FwvA'><pre id='4FwvA'><center id='4FwvA'></center></pre></bdo></b><th id='4FwvA'></th></span></q></dt></tr></i><div id='4FwvA'><tfoot id='4FwvA'></tfoot><dl id='4FwvA'><fieldset id='4FwvA'></fieldset></dl></div>
                  <bdo id='4FwvA'></bdo><ul id='4FwvA'></ul>
                    <tbody id='4FwvA'></tbody>
                • 本文介绍了在这个 php 配置中是否启用了 mysqli 扩展?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  我有一个用 php 设计的网站,带有 mysqli(mysql - 改进)扩展.phpinfo() 页面显示:

                  I've a website designed in php with mysqli (mysql - improved) extension. The phpinfo() page shows this:

                  ./configure --disable-fileinfo --disable-phar --enable-bcmath --enable-calendar --enable-ftp --enable-gd-native-ttf --enable-libxml --enable-magic-quotes --enable-mbstring --enable-pdo=shared --enable-soap --enable-sockets --enable-wddx --enable-zend-multibyte --enable-zip --prefix=/usr --with-bz2 --with-curl=/opt/curlssl/--with-curlwrappers --with-freetype-dir=/usr --with-gd --with-imap=/opt/php_with_imap_client/--with-imap-ssl=/usr --with-jpeg-dir=/usr --with-kerberos --with-libdir=lib64 --with-libexpat-dir=/usr --with-libxml-dir=/opt/xml2 --with-libxml-dir=/opt/xml2/--with-mcrypt=/opt/libmcrypt/--with-mysql=/usr --with-mysql-sock=/var/lib/mysql/mysql.sock --with-mysqli=/usr/bin/mysql_config --with-openssl=/usr --with-openssl-dir=/usr --with-pcre-regex=/opt/pcre --with-pdo-mysql=shared --with-pdo-sqlite=shared --with-pic --with-png-dir=/usr --with-pspell --with-sqlite=shared --with-tidy=/opt/tidy/--with-xmlrpc --with-xpm-dir=/usr --with-xsl=/opt/xslt/--with-zlib --with-zlib-目录=/usr

                  ./configure --disable-fileinfo --disable-phar --enable-bcmath --enable-calendar --enable-ftp --enable-gd-native-ttf --enable-libxml --enable-magic-quotes --enable-mbstring --enable-pdo=shared --enable-soap --enable-sockets --enable-wddx --enable-zend-multibyte --enable-zip --prefix=/usr --with-bz2 --with-curl=/opt/curlssl/ --with-curlwrappers --with-freetype-dir=/usr --with-gd --with-imap=/opt/php_with_imap_client/ --with-imap-ssl=/usr --with-jpeg-dir=/usr --with-kerberos --with-libdir=lib64 --with-libexpat-dir=/usr --with-libxml-dir=/opt/xml2 --with-libxml-dir=/opt/xml2/ --with-mcrypt=/opt/libmcrypt/ --with-mysql=/usr --with-mysql-sock=/var/lib/mysql/mysql.sock --with-mysqli=/usr/bin/mysql_config --with-openssl=/usr --with-openssl-dir=/usr --with-pcre-regex=/opt/pcre --with-pdo-mysql=shared --with-pdo-sqlite=shared --with-pic --with-png-dir=/usr --with-pspell --with-sqlite=shared --with-tidy=/opt/tidy/ --with-xmlrpc --with-xpm-dir=/usr --with-xsl=/opt/xslt/ --with-zlib --with-zlib-dir=/usr

                  这是否意味着在此配置中启用了 mysqli 扩展?

                  Does this mean that mysqli extension is enabled in this configuration?

                  推荐答案

                  是否应该启用 mysqli 扩展然后在同一个 phpinfo 页面上一个MysqlISupport | enabled" 表标题应出现.寻找那个:

                  Should the mysqli extension be enabled then on the very same phpinfo page a "MysqlI Support | enabled" table header should appear. Look for that:

                  如果你想在脚本中找到,寻找一个特定于 mysqli 的函数,比如 mysqli_connect() 然后检查它是否存在:

                  If you want to find out in a script, look for a function specific for mysqli like mysqli_connect() and than check if it exists:

                  var_dump(function_exists('mysqli_connect'));
                  

                  如果输出 FALSE,则它不存在,并且您很可能无法使用该模块.

                  If this outputs FALSE, then it does not exists and it's highly likely that you can not use the module.

                  这篇关于在这个 php 配置中是否启用了 mysqli 扩展?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:获取关联数组时如何消除致命错误 下一篇:警告:mysqli_query() 期望参数 1 是 mysqli,字符串在

                  相关文章

                  最新文章

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

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