I have this problem: On a ISS web server, windows 7 x64 professional, zend server installed. Running this command under php:
exec(\'dir\',$output, $err); >
Try this:
shell_exec('dir 2>&1');
It works fine on Windows 8.1 64bits with UAC enabled.