Add sleep(1)
before $zip->addFromString('word/document.xml', $xmlString);
It works on my Ubuntu 12.04
Don't forget to type your variable in same time when you create a docx file, I mean never type FIRST_AND_LAST_NAME
and then you add a symbol $
after that. It creates different XML code.