command not found - error in exec() command

php

Solution

Try putting in a full path name:

`exec("/path/to/epm package");`

Your webserver process won't necessarily be set up with the same configuration as your own account.

Problem

I run this from php file ``` exec("epm package"); ``` i got below error in error_log ``` sh: epm: command not found ``` I tested manually in terminal it works fine.

Original source