Hmmmm, maybe it's not a problem with the DLL I'm trying to access because just doing a simple: $my_com = new COM("Excel.Application"); Gives me the same error: *Fatal error*: Uncaught exception 'com_exception' with message 'Failed to create COM object `Excel.Application': Invalid syntax ' I've checked my PHP.ini and COM is enabled...