PHP:安装PECL扩展

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?

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$