phpdocx can run on any server with PHP 5.2 or newer installed: apache, nginx, lighttpd, FastCGI, PHP CLI mode, php-fpm...
About your questions:
- The trial package doesn't include PHP namespaces, so we recommend you to test the package standalone. Advanced and Premium licenses include a package with PHP namespaces support recommended to use the library with frameworks such as Laravel or Symfony (https://www.phpdocx.com/documentation/cookbook/integrate-phpdocx-with-laravel). When you move a phpdocx script created without namespaces to the package with PHP namespaces you just need to add the namespaces to do it works.
- You are getting a not found when including the main phpdocx file (CreateDocx.inc). We recommend you to check and run the included samples in the package and the practical guide available on https://www.phpdocx.com/documentation/practical