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

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

      2. 如何在 apache xampp 中设置环境变量?

        时间:2024-04-12

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

              • <legend id='6Ve36'><style id='6Ve36'><dir id='6Ve36'><q id='6Ve36'></q></dir></style></legend><tfoot id='6Ve36'></tfoot>
                  <tbody id='6Ve36'></tbody>
                • <bdo id='6Ve36'></bdo><ul id='6Ve36'></ul>

                  <small id='6Ve36'></small><noframes id='6Ve36'>

                  本文介绍了如何在 apache xampp 中设置环境变量?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我想在 windows 的 apache xampp 中添加一些环境变量.我已经尝试过以下方法:在 httpd.conf 中添加这个

                  I would like to add some environment variables in apache xampp in windows. I already tried the following : adding this in httpd.conf

                  SetEnv ENVIRONMENT "setting"
                  

                  或者,运行这个脚本

                  putenv("ENVIRONMENT='setting'");
                  

                  但是当我回显 phpinfo() 时这似乎不起作用,环境部分中没有 ENVIRONMENT 变量

                  but that doesn't seem to work when I echo phpinfo(), there isn't ENVIRONMENT variable in the environment section

                  推荐答案

                  我知道这是一个旧帖子,OP 可能已经自己解决了这个问题,但是对于其他人:

                  I know this is an old post and the OP already may has solved this by himself but for others:

                  SetEnv ENVIRONMENT setting
                  

                  这将是 httpd.conf 文件中的正确语法.此外,此代码应放在文件末尾.

                  This would be the correct Syntax inside of the httpd.conf file. Also, this code should be put at the end of the file.

                  保存 httpd.conf 后需要重启 apache 服务器.否则将不会在this"apache session 中设置环境变量!

                  After saving httpd.conf the apache server needs to be restarted. Otherwise the environment variable will not be set in "this" apache session!

                  真诚地,卡米杨

                  这篇关于如何在 apache xampp 中设置环境变量?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:在 Windows 上使用 XAMPP 安装 PHP YAML 扩展 下一篇:#2002 - 服务器没有响应(或者本地 MySQL 服务器的套接字配置不正确)

                  相关文章

                  <tfoot id='dMcec'></tfoot>

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

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

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