[PHP-WIN] Re: Can't execute external program -> error "Access is denied"

2007-06-20 Thread muquaddim
To run this tasks a good way can be running a daemon. The daemon must be run by administrative user. when you request a task ( a command parhaps ) php request to the request pool of that daemon. And wait for execution status. On getting SUCCESS php will show "it was successfull". Of course you h

Re: [PHP-WIN] Re: Can't execute external program -> error "Access is denied"

2007-06-19 Thread Niel Archer
Hi > I don't know why "notepad.exe" works. may be there is some other issue. Probably because Notepad has execute permission for the LOCAL_SYSTEM account, and Apache/PHP is probably running using that account. Niel -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP-WIN] Re: Can't execute external program -> error "Access is denied"

2007-06-19 Thread muquaddim
Hello Dave, It happens for the different privileges of php executer. When you run php as a module by Apache. Apache runs under a user which has no privilege to run those system specific command. You can see error log of apache. When you run it yourself from command prompt, you are the executer w