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.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.