Hello,
We don't have any issue related to IIS using FastCGI, and we have seen some servers running PHPDocX without error. I recommend you to test the library using the CLI mode and run the same example to check if it creates the document fine.
Regards.