When trying to install phpDoc through the Terminal I get the following error:
-bash: pear: command not found
Even though I have just installed pear.
Prior to trying to install phpDoc I installed Pear and I got the following warning:
WARNING! The include_path defined in the currently used php.ini does not contain the PEAR PHP directory you just specified: </Users/Mike/pear/share/pear> If the specified directory is also not in the include_path used by your scripts, you will have problems getting any PEAR packages working. Current include path : .: Configured directory : /Users/Mike/pear/share/pear Currently used php.ini (guess) : Press Enter to continue: ** WARNING! Old version found at /Users/Mike/pear/bin, please remove it or be sure to use the new /Users/Mike/pear/bin/pear command The 'pear' command is now at your service at /Users/Mike/pear/bin/pear ** The 'pear' command is not currently in your PATH, so you need to ** use '/Users/Mike/pear/bin/pear' until you have added ** '/Users/Mike/pear/bin' to your PATH environment variable. Run it without parameters to see the available actions, try 'pear list' to see what packages are installed, or 'pear help' for help. For more information about PEAR, see: http://pear.php.net/faq.php http://pear.php.net/manual/ Thanks for using go-pear!
Can someone please walk me through what I need to do to fix this? I am sure it is something simple but I have no idea where to start.