osx - El Capitan pear command not found -
i new mac , trying pear run terminal. scripts added mamp folder , if run:
$ sudo /applications/mamp/bin/php/php5.6.10/bin/pear
everything fine.
however, if run $sudo pear or pear message: "pear command not found"
my $path variable looks this:
/applications/mamp/bin/php/php5.6.10/bin/pear:/usr/bin:/bin:/usr/sbin:/sbin:
when pear $ locate bin/pear same location in path:
/applications/mamp/bin/php/php5.6.10/bin/pear
any idea can wrong?
copied -- in essence -- comment:
th $path environment variable should contain list of directories searched command. having executable part of path doesn't resolving location.
Comments
Post a Comment