WHMCS install script Script error: the ionCube Loader for PHP needs to be installed

Virtualmin is installed on a Debian 12 VPS. The WHMCS tells me that installation was only partially completed, and to go to url.com// to finish installation. When I navigate to url.com// I get " Script error: the ionCube Loader for PHP needs to be installed. The ionCube Loader is the industry standard PHP…"

PHP8.2 is installed by default, and that’s not yet supported by WHMCS, so I installed php8.1. As I understand it, the install script is supposed to install any needed modules…

SYSTEM INFORMATION
OS type and version Debian 12
Virtualmin version 7.8.2

From memory ioncube is not a default php module and can not be installed via apt (the method used by virtualmin to install modules) so I guess you have to install it manually, here is a tutorial on how to do it,

that said I thought the virtualmin script installer would have done it for you.

From the Googling I’ve done, Virtualmin should install all of the required modules (through which methods, I don’t know).

By this post it does need to be install, search the forums on here before googling.