Quantcast
Channel: command not found - error in exec() command - Stack Overflow
Browsing latest articles
Browse All 4 View Live

Answer by oezi for command not found - error in exec() command

sounds like epm isn't in the PATH environment variable for the user your webserver is running (probably apache). to solve this, do one of these: add the path to epm to the webserver-users PATH provide...

View Article



Answer by andrewsi for command not found - error in exec() command

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.

View Article

Answer by jaredhoyt for command not found - error in exec() command

I'm assuming the user you are testing with in the terminal and the webserver user running your PHP are different. You need to make sure directory for the epm package is exported to the PATH environment...

View Article

command not found - error in exec() command

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.

View Article
Browsing latest articles
Browse All 4 View Live




Latest Images