Adam Halasz
Adam Halasz

Reputation: 58341

PHP: Installing PECL Extensions

I'm on a Mac OS X 10.6 and If I type in the terminal:

Me:~ Me$ pecl install extname

Then I get this error:

-bash: pecl: command not found

How can I make the pecl command work?

According to php.net this should work, what I'm doing wrong?

Upvotes: 0

Views: 3212

Answers (1)

chenull
chenull

Reputation: 11

hm.. mine is working:

sayaMac:~ ayik$ pecl channel-info
No channel specified
sayaMac:~ ayik$ whereis pecl
/usr/bin/pecl
sayaMac:~ ayik$

please make sure /usr/bin is in your PATH env. check with:

sayaMac:~ ayik$ echo $PATH
/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/Users/ayik/adb/tools
sayaMac:~ ayik$ 

Upvotes: 1

Related Questions