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

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

    2. <tfoot id='WevYs'></tfoot>

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

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

      1. 在 PHP 中启用 json_encode

        Enable json_encode in PHP(在 PHP 中启用 json_encode)

          <tbody id='7lhkO'></tbody>
        <legend id='7lhkO'><style id='7lhkO'><dir id='7lhkO'><q id='7lhkO'></q></dir></style></legend>

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

                • 本文介绍了在 PHP 中启用 json_encode的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  有人可以建议如何在 PHP 中启用 json_encode 函数吗?

                  Could someone advise on how to enable the json_encode function in PHP?

                  我已经全新安装了 Centos 5.6,并且刚刚安装了 Virtualmin.

                  I have a clean install of Centos 5.6 and have just installed Virtualmin.

                  有人知道接下来要采取的步骤吗?

                  Does anyone know the next steps to take?

                  推荐答案

                  如 http://www.php.net/manual/en/json.requirements.php

                  要求

                  使用这些功能无需安装;它们是 PHP 核心的一部分.

                  There is no installation needed to use these functions; they are part of the PHP core.

                  只需 PHP >= 5.2.0

                  编辑:在评论中看到 还有这个

                  在 RHEL5/CentOS5 上添加 EPEL 存储库(http://fedoraproject.org/wiki/EPEL).

                  On RHEL5/CentOS5 add the EPEL repository (http://fedoraproject.org/wiki/EPEL).

                  之后,安装就很简单了:

                  After that, installation is as simple as:

                  sudo yum install php-pecl-json
                  

                  不知道这是否适用于你的问题,我没有 Centos 服务器...

                  Don't know if this apply for your question, I don't have a Centos server...

                  对于 Ubuntu:

                  sudo aptitude install php5-json
                  

                  这篇关于在 PHP 中启用 json_encode的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                  相关文档推荐

                  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时间戳之间的天数)

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

                        <bdo id='Oe2zC'></bdo><ul id='Oe2zC'></ul>
                      • <tfoot id='Oe2zC'></tfoot>
                      • <legend id='Oe2zC'><style id='Oe2zC'><dir id='Oe2zC'><q id='Oe2zC'></q></dir></style></legend>

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