Trying to install phpDocumentor2, no luck.
Would be grateful if you guys could talk me through steps.
I'm on Mac computer, I have MAMP installed.
Here's what I tried to do:
1. Opened Terminal.
2. Typed: pear channel-discover pear.phpdoc.org; (as per Larry's instructions from the book)
Got the response:
-bash: pear: command not found
My second attempt:
1. Logged in to MAMP using this line in the terminal:
/Applications/MAMP/Library/bin/mysql --host=localhost -uroot -proot
Got to the mysql>
2. Typed: pear channel-discover pear.phpdoc.org;
3. Got a response:
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'pear channel-discover pear.phpdoc.org' at line 1
What can I do to make it work?
Thanks in advance!