Hi Gang,
I'm hoping someone can help with this. From a colleague of a colleague:
QUOTE
I’ve got a simple PHP page that starts an instance of Word, writes some text and then saves the file. Something like this:
$word=new COM("Word.Application") or die("Unable to instanciate Word");
$word->Documents->Add();
$word->Selection->TypeText("This is a test.");
$word->Documents[1]->SaveAs("C:\\test.doc");
$word->Quit();
I've tried other folk's code samples with the same results as mine, the Task Manager shows an instance of winword.exe but the page eventually times out with a 500 error. I’ve changed the account that runs Word from “the launching user” to “the interactive user” to a specific user and got the same results each time. Launch, access and configuration privileges all look like they’re set as well.
Best,
Robert