PHP pear is not locating the correct php executable. When I type pear config-show It is showing the following error.
/usr/local/bin/pear: line 28: /usr/local/Cellar/php55/5.5.36/bin/php: No such file or directory
/usr/local/bin/pear: line 28: exec: /usr/local/Cellar/php55/5.5.36/bin/php: cannot execute: No such file or directory
But when I execute which php I am getting
/usr/local/bin/php
How I should configure this in pear