Issue
I'm trying to run a command that downloads a bit of software using PEAR installed with MAMP.
Here's the command I run in Terminal:
pear channel-discover pear.phpdoc.org
The Terminal responds with:
-bash: pear: command not found
Could someone please advise how to access PEAR that comes pre-installed with MAMP?
Path to MAMP on my Mac is /Applications/MAMP/
Solution
I do not use mamp but i think you can find the pear here:
/Applications/MAMP/bin/php5.3/bin/pear
you can simply add some alias to make it shorter, something like
alias mamppear="/Applications/MAMP/bin/php5.3/bin/pear"
Answered By - Simon Berka
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.