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

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

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

      <tfoot id='AcjQ4'></tfoot>
    2. Sodium 未在 XAMPP PHP 7.2 上加载

      Sodium is not loading on XAMPP PHP 7.2(Sodium 未在 XAMPP PHP 7.2 上加载)
            <bdo id='IyLla'></bdo><ul id='IyLla'></ul>

              <legend id='IyLla'><style id='IyLla'><dir id='IyLla'><q id='IyLla'></q></dir></style></legend>
              1. <small id='IyLla'></small><noframes id='IyLla'>

                  <tbody id='IyLla'></tbody>

              2. <tfoot id='IyLla'></tfoot>
              3. <i id='IyLla'><tr id='IyLla'><dt id='IyLla'><q id='IyLla'><span id='IyLla'><b id='IyLla'><form id='IyLla'><ins id='IyLla'></ins><ul id='IyLla'></ul><sub id='IyLla'></sub></form><legend id='IyLla'></legend><bdo id='IyLla'><pre id='IyLla'><center id='IyLla'></center></pre></bdo></b><th id='IyLla'></th></span></q></dt></tr></i><div id='IyLla'><tfoot id='IyLla'></tfoot><dl id='IyLla'><fieldset id='IyLla'></fieldset></dl></div>
                本文介绍了Sodium 未在 XAMPP PHP 7.2 上加载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                嘿,由于某种原因,当我使用 XAMPP PHP 7.2 时,所有的钠函数都不起作用.当我运行 print_r(get_loaded_extensions()); 它不会在列表中显示钠.当我去 http://php.net/manual/en/sodium.installation.php 它说不需要安装它们是核心的一部分.所以我去了我的 php.ini 配置文件并确保它没有禁用钠,它说 extension=php_sodium.dll.我去控制台仔细检查他们是否有任何错误,没有.这很奇怪,因为 Argon2i 工作正常.Argon2i 常量都已定义,当在 password_hash() 函数中使用时,它会生成密码哈希没有问题.我使用 Windows 作为我的操作系统.还有什么可能导致这样的事情,任何帮助都会很好.提前致谢.

                Hey for some reason when i use XAMPP PHP 7.2, all of the sodium functions are not working. When i run print_r(get_loaded_extensions()); it does not show sodium on the list. When i go to http://php.net/manual/en/sodium.installation.php it says no installation needed they are a part of the core. So i went to my php.ini configuration file and made sure that it did not disable sodium, it says extension=php_sodium.dll. I went to the console to double check to see if their were any errors, there was none. It was weird because Argon2i is working fine. The Argon2i constants are all defined and when used in the password_hash() function it generates a password hash no problem. I am using windows as my OS. Is there anything else that can cause something like this, any help would be nice. Thanks in advance.

                推荐答案

                你确定你编辑了正确的 php.ini 吗?

                Are you sure that you edit the correct php.ini?

                从 PHP 7.2 开始,ini 文件(至少在我的 Windows PC 上),加载扩展的语法现在是 extension=modulename 而不是 extension=php_modulename.dll.

                Starting with PHP 7.2, ini file (at least on my Windows PC), the syntax to load extension is now extension=modulename instead of extension=php_modulename.dll.

                这篇关于Sodium 未在 XAMPP PHP 7.2 上加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                相关文档推荐

                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时间戳之间的天数)
                  <bdo id='2MrUk'></bdo><ul id='2MrUk'></ul>

                    <small id='2MrUk'></small><noframes id='2MrUk'>

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