|Subject:||PHP exec() in IIS 6/Windows Server 2003|
|Posted by:||nightshade (firstname.lastname@example.org)|
|Date:||Fri, 01 Aug 2008|
I have PHP 5 installed on my server running IIS 6 (Windows Server 2003).
PHP is running happily on one of the sites hosted on the server however
one feature needs to be able to use the exec command to generate PDF
reports. I've tried granting execute permissions to the IIS account for
the executable but haven't had any luck with it. Even full control to
everyone doesn't seem to work (not that I'd leave something like that
open in a prod environment).
If anyone has some advice on how to get the exec() command to work
properly in this environment (and securely would be a nice touch) I'd
appreciate the info.