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?
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?
The reason you are getting this error is because Pear package is missing.
I encountered the same problem while installing PHP extensionfor MongoDB on Ubuntu. What worked for me was the following:
Install Pear Package:
sudo apt install php-dev php-pear
then you can run:
sudo pecl install memcached