【问题标题】:Pear location on mac osx lion xamppmac osx lion xampp上的梨位置
【发布时间】:2012-03-31 17:36:31
【问题描述】:

从我的 phpinfo 中,我看到 pear 配置在 /Applications/XAMPP/xamppfiles/lib/php/pear 位置。但是当我从 /Applications/xampp/xamppfiles/lib/php/pear 位置在终端键入 pear 命令时,它返回错误:“无法打开输入文件:/usr/lib/php/pearcmd.php”

为什么它要去 /usr/lib... ?

我不明白为什么会这样。

【问题讨论】:

    标签: xampp pear


    【解决方案1】:

    我刚刚这样做了:

    $ cd /usr/lib/php
    $ sudo php install-pear-nozlib.phar
    

    【讨论】:

      猜你喜欢
      • 2012-04-02
      • 2013-09-27
      • 2011-10-19
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-03-03
      相关资源
      最近更新 更多