How to run occ on QNAP?

Also make sure that your libxml is at least version 2.7.0: