Office is running in Wine, meaning I have a running Version (2003).
Bu开发者_JAVA百科t when I try to create a new COM object I just get the following error:
Fatal error: Class 'COM' not found
<?php $com = new COM('Word.Application'); $com->close();
Is there a way to get this working without installing Windows?
You have to run PHP under Wine as well, or have some sort of program running under Wine that can act as a proxy.
精彩评论