Replies: 1   Views: 3212
Use phpdocx class in php cli script
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by  · 24-10-2017 - 10:00

Can I use phpdocx in a php script in CLI environment on a Linux server?What is the right license in this case?

Thank you. Paolo

Posted by admin  · 24-10-2017 - 10:26


All licenses allow to use phpdocx in CLI mode. We recommend you to choose the license based on their features ( and if you need to use the library on a subdomain (Basic), a domain and its subdomains (Advanced and Premium) or an IP (Premium).

All licenses also allow to use the library on localhost and private networks (classes A, B and C).