在mac osx狮子xampp的梨位置

时间:2012-03-15 08:03:47

标签: xampp pear

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

为什么要进入/ usr / lib ...?

我无法理解为什么会这样。

1 个答案:

答案 0 :(得分:0)

我刚刚这样做了:

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