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

2007-06-19 Thread Davide Molteni
Hi, I've a Windows 2003 server, running Apache 2.2 with PHP 4.4.4 and I want to run an external program or script with exec(), passthru(), shell_exec() or system() but I always receive "Access is denied". If I try with "notepad.exe" it works! This program or script works if I run it from the W

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

2007-06-19 Thread Davide Molteni
Hi, I've a Windows 2003 server, running Apache 2.2 with PHP 4.4.4 and I want to run an external program or script with exec(), passthru(), shell_exec() or system() but I always receive "Access is denied". If I try with "notepad.exe" it works! This program or script works if I run it from the Wind