Re: Can not execute exes from php
| From: | venkata ramana | Date: | Sat, 29 May 2004 17:29:52 +0000 |
| Subject: | Re: Can not execute exes from php | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-23889@lists.php.net to get a copy of this message | ||
After two days of google search and some other trials, I found the
problem. I have to give execute permissions to
%SystemRoot%/System32/cmd.exe for the user IUSR_sytemname, for getting
those commands executed.
regards,
ramana,
On Sat, 29 May 2004 14:12:33 +0530, venkata ramana <uvramana@gmail.com> wrote:
>
> Hi,
>
> Whenever I try to execute an exe file from a php program, I am
> getting an error saying
> "Warning: shell_exec(): Unable to execute 'xxxx..'. I am using IIS 6.0
> in windows server 2003.
> It is showing the same error even when I try to execute simple command
> like 'dir'. Please help me by telling what should I do to execute the
> exe files.
>
> Thanks,
> ramana.
>