CGI error from PHP when running exec() on IIS
- by Patrick
Windows Server 2003 x64
PHP 5.2
IIS 6.0
The program Ink2Png.exe is set with Everyone-Read and Execute permissions.
As does its dependency (microsoft.ink.dll)
PHP Safe Mode is off
exec() is passed [the full exe path], space, [full path to another file]
This other file also has full read permissions.
The output directory has full write permissions.
As soon as exec() is hit, the connection dies, the browser does not even receive a full set of http headers, and it reports a CGI error. Examining the output, it appears the program was not even run.
Any ideas? How can I figure out what exactly is happening and get it running again?
EDIT:
Also, it is a .NET application, if that is significant in any way.