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

Popular posts from this blog

java - Jasper subreport showing only one entry from the JSON data source when embedded in the Title band -

mapreduce - Resource manager does not transit to active state from standby -

serialization - Convert Any type in scala to Array[Byte] and back -