I cannot get "$word = new COM("word.application") or die ("Could not initialise MS Word object.");" to open MS Word. I have Word installed on the machine and I set com.allow_dcom = true in php.ini (also removed ; ). All I get is a blank screen. My Xampp control panel shows Apache and MySQL running and I can run other php.