Search code examples
phpmacospecl

pecl:command not found


I'm trying to run the following command in terminal on my macbook pro

cd /tmp; pecl download memcached

but im getting

pecl:command not found.

after a days googling I cant find out whats up. Does anyone have a solution?


Solution

  • At least on Arch Linux you must install php-pear package for the pecl tool by using this command:

    pacman -S php-pear