Re: [PHP] Problem with "shell_exec"

2010-12-05 Thread Boyan Penev
rk > > > -Original Message- > From: Boyan Penev [mailto:boyan...@googlemail.com] > Sent: Sunday, October 31, 2010 12:26 PM > To: ad...@buskirkgraphics.com > Cc: php-general@lists.php.net > Subject: Re: [PHP] Problem with "shell_exec" > > Hello Ri

RE: [PHP] Problem with "shell_exec"

2010-10-31 Thread admin
, I cannot duplicate your error. Richard L. Buskirk -Original Message- From: Boyan Penev [mailto:boyan...@googlemail.com] Sent: Sunday, October 31, 2010 12:26 PM To: ad...@buskirkgraphics.com Cc: php-general@lists.php.net Subject: Re: [PHP] Problem with "shell_exec" Hello Richard

Re: [PHP] Problem with "shell_exec"

2010-10-31 Thread Boyan Penev
Hello Richard, thank you for the prompt reply. I just tried to follow your suggestion, but i couldn't solve my problem: 1. I have started the server with user "nobody". All the binaries i was trying to execute(e.g. /bin/ls) were "chown"-ed to the user "nobody" Problem presisted. Than i "chown" -

RE: [PHP] Problem with "shell_exec"

2010-10-31 Thread admin
It seems most probably a permission problem. If I were you I would check the permissions on the bin directory and the files in it. PHP will probably run under the uid of the webserver, which, on most systems is either "apache" or "nobody" depending on the configuration. Richard L. Buskirk