Hello,
You don't need to set 777 to tmp folder but .config directory. Please follow the steps on:
http://www.phpdocx.com/documentation/conversion-plugin
Everything is explained on these pages. Your issue and how to solve it is the 4th item of this page :
http://www.phpdocx.com/documentation/conversion-plugin/debugging-libreoffice
For further support please write to contact[at]phpdocx.com
Regards.