<tfoot id='uWWkL'></tfoot>

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

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

        Mac OSX PHP 和 XAMPP 路径问题

        Mac OSX PHP and XAMPP path issue(Mac OSX PHP 和 XAMPP 路径问题)

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

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

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

                • <tfoot id='t0fVG'></tfoot><legend id='t0fVG'><style id='t0fVG'><dir id='t0fVG'><q id='t0fVG'></q></dir></style></legend>

                    <tbody id='t0fVG'></tbody>
                • 本文介绍了Mac OSX PHP 和 XAMPP 路径问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我已经在运行 Yosemite 的 Mac OSX 上安装了 XAMPP我创建了这样的 .bash_profile 文件:

                  I have installed XAMPP on Mac OSX running Yosemite I have created the .bash_profile file like this:

                  export XAMPP_HOME=/Applications/XAMPP/xamppfiles
                  export PATH=${XAMPP_HOME}/bin/php:${PATH}
                  export PATH
                  

                  当我在终端中输入 echo $PATH 时,我得到了正确的 XAMPP 路径但是当我输入which php"时,它会显示/usr/bin/php

                  When I type echo $PATH in terminal, I get correct XAMPP path But when I type "which php" it shows /usr/bin/php

                  如何让我的 XAMPP 使用正确的 php 而不是 mac 自带的默认 php?

                  How can I make my XAMPP use the correct php instead of default php that came with mac?

                  推荐答案

                  要使用 XAMPP PHP 和在/Applications/XAMPP/bin/中找到的其他二进制文件,默认情况下这是 ~/.bash_profile 的正确条目

                  To use the XAMPP PHP and other binaries found in /Applications/XAMPP/bin/ by default this is the correct entry for ~/.bash_profile

                  export XAMPP_HOME=/Applications/XAMPP
                  export PATH=${XAMPP_HOME}/bin:${PATH}
                  export PATH
                  

                  使用此加载更改(下次打开 shell 会话时不需要):

                  Load the changes with this (won't be needed next time you open a shell session):

                  source ~/.bash_profile
                  

                  确认:

                  $ which php
                  /Applications/XAMPP/bin/php
                  

                  这篇关于Mac OSX PHP 和 XAMPP 路径问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                  相关文档推荐

                  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='IG6Lr'></bdo><ul id='IG6Lr'></ul>

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

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

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