【问题标题】:How to enable pear and phpunit in xampp on linux?如何在 Linux 上的 xampp 中启用 pear 和 phpunit?
【发布时间】:2013-06-23 10:07:57
【问题描述】:

我已经在我的 ubuntu 12.04 操作系统上安装了 xampp 1.8.0。它安装成功。 但我想启用 pear 和 phpunit。我可以看到 /opt/lampp/lib/php/PEAR 和 /opt/lampp/lib/php/PHPUnit 有 pear 和 phpunit 目录 但是如果我从终端运行 pear -v,它会说

The program 'pear' is currently not installed. You can install it by typing:
sudo apt-get install php-pear

请帮我在 xampp 中启用 pear 和 phpunit。

提前致谢

【问题讨论】:

    标签: php phpunit xampp pear


    【解决方案1】:

    /opt/lampp/lib/bin/ 添加到您的$PATH

    【讨论】:

      猜你喜欢
      • 2011-08-13
      • 2012-02-29
      • 2011-07-06
      • 1970-01-01
      • 2014-08-23
      • 1970-01-01
      • 2020-09-30
      • 1970-01-01
      • 2015-03-15
      相关资源
      最近更新 更多