这是我到目前为止尝试过的:
> cd /Applications/MAMP/bin/php5/bin/
> ./pear channel-discover pear.phing.info
> ./pear install phing/phing安装已运行。我可以运行以下命令:
> ./pear/ info phing/phing
About pear.phing.info/phing-2.4.0
=================================
Release Type PEAR-style PHP-based Package
Name phing如果我运行该命令
>ls -alPhing未列出。
现在,您可以运行以下命令:
> ./phing -h
-bash: ./phing: No such file or directory
> phing
-bash: phing: command not found谢谢你的帮助。
发布于 2010-03-04 00:43:53
也许这是一个路径问题。尝试检查phing在哪里:
locate phing甚至,如果你有时间的话:
find / -name "phing"然后,如果找到它,可以将它的路径添加到.profile文件中:
echo "export PATH=/path/to/phing/:$PATH" >> ~/.profilehttps://stackoverflow.com/questions/2372974
复制相似问题