I tried using a pear to install phpunit and phpdoc and it seems that I encountered a problem installing my pear.
after installation guide here :
- You can prepare your PEAR installation using the following commands:
$ pear channel-discover pear.phpdoc.org
this gives me an error message:
-bash: pear: command not found
I already mentioned usage $ locate bin/pearto find the installation. This gives me the following message:
WARNING: The locate database (/var/db/locate.database) does not exist.
To create the database, run the following command:
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.locate.plist
Please be aware that the database can take some time to generate; once
the database has been created, this message will no longer appear.
I’m not sure what this means, but if I read it correctly, he says that the pear is not there. I know my path to pear /Applications/MAMP/bin/php/php5.3.6/bin/pear /Applications/MAMP/bin/php/php5.3.6/bin/pear.
I lost a little what to try next. Any suggestions on what I'm doing wrong?
source
share