I am trying to get exec working on a Windows server and receiving the error message "unable to fork". After googling the issue a bit, it seems the recommended fix is to give the IUSR account READ and EXECUTE permissions to c:\Windows\System32\cmd.exe.
But that has got be a major security hole right? Is it safe? Is there another way to execute [from php] an exe residing on the server?