这是我迄今为止尝试过的:
> 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 -al
未列出 Phing。
您现在可以运行以下命令:
> ./phing -h
-bash: ./phing: No such file or directory
> phing
-bash: phing: command not found
谢谢你的帮助。