Hello,
We recommend you to check your server logs, maybe there's some missing read or write permission, and test the library using PHP CLI mode and the simplest example (Core/addText/sample_1.php):
$ php sample_1.php
We also recommend you to upgrade to a newest version of PHP. phpdocx supports PHP 5.2.11 or newer.
Regards.