开发者

PHP: Installing PECL Extensions

开发者 https://www.devze.com 2023-02-02 17:19 出处:网络
I\'m o开发者_如何学Gon a Mac OS X 10.6 and If I type in the terminal: Me:~ Me$ pecl install extname

I'm o开发者_如何学Gon 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$ 
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号