Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

pecl:command not found

Tags:

php

macos

pecl

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?

like image 313
jdee Avatar asked Oct 26 '09 14:10

jdee


People also ask

Is PECL deprecated?

Unlike other reports, the pear/pecl tools are not deprecated in PHP. They're merely not being enabled by default. The pecl tool is the only official way to fetch and compile PHP extensions. Unless there is an official replacement, please continue building the default docker images with the --with-pear flag.


1 Answers

apt-get update  apt-get install php-pear php5-dev 
like image 184
Chadams Avatar answered Sep 18 '22 12:09

Chadams