Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Script provisioning is a simple, yet revolutionary provisioning module shipped with every HostBill installation since 2016-12-09. It - it allows you to execute your custom scripts in any scripting/programming language when certain actions related to product using this module occur. I.e.: Run certain script with certain arguments when related account is created. This way you can integrate any system that does not offer an remote API but other management tools that are accessible from cli.

...

Warning

...

This is potentially dangerous module - it can execute any command you pass to it, so its important to run your HostBill php/php-fpm processes under a isolated system user (not root).

Syntax mistakes in module configuration can lead to irreversible data loss. Its not advised to use this module on shared environment. 

System requirements & security precautions

...

  • Although HostBill can be installed on windows environments, this module was not tested on it, and its designed to be used solely on *nix systems
  • This module relies /uses on php proc_open and exec functions, that are by default disabled in php.ini's disable_functions directive, to use it:
    • Use HostBill Queue module that runs tasks in background/trough cron, and with that can make use of different php settings, or
    • (not advised) remove proc_open and exec functions from php.ini disable_functions directive
  • Before executing any script, module changes working directory (cwd) to main HostBill installation directory
  • Its not advised to use this module on shared environment.

Configure product

...