WHMCS compatibility and hosting requirements
Applies to ServerBike Reseller for WHMCS 0.1.8 and ServerBike Reseller Public API 1.1.1.
| Requirement | Supported configuration |
|---|---|
| Module | ServerBike Reseller 0.1.8 (install both module folders from the same archive) |
| WHMCS | Build 9.0.8-release.1 only, with a valid WHMCS license |
| PHP | 8.2.x or 8.3.x for both the website and cron; other versions, including 8.4, are refused |
| PHP extensions | curl, openssl, json, pcre, posix and the WHMCS pdo_mysql extension |
| libcurl | 7.59.0 or newer |
| Database | MySQL or MariaDB with InnoDB and a compatible native WHMCS schema; the module checks the table structure |
| System user | Website PHP (PHP-FPM) and the WHMCS cron must run as the same non-root user |
| Cron | The native WHMCS cron every five minutes; no separate scheduler for the module |
| Keyring storage | A private local folder outside WHMCS and the public web root, with the correct ownership, POSIX file locks and atomic file operations |
| Network | Outbound HTTPS to bridge.serverbike.com from your registered public IP addresses, for both the website and cron; valid TLS and an accurate system clock |
The module checks that the native WHMCS tables tblhosting and tblhostingconfigoptions use InnoDB and utf8mb3_unicode_ci, with non-null int(10) identity columns, a non-null text billingcycle column in the same character set and collation, and a non-unique (relid,configid) index. Some further column checks also apply. Do not change native WHMCS tables just to pass a check; contact support if anything does not match.
Shared hosting
On a first installation, the addon can create the keyring without shell access, as long as your account passes the Host check and the keyring storage checks. Not every shared hosting account is compatible. The PHP user must own a private folder outside the website, posix_geteuid must be available and open_basedir must allow access to that folder. Network storage, or storage whose suitability cannot be confirmed, may be refused. Ask your host about local storage, file ownership, the cron user and PHP folder restrictions. Command-line keyring maintenance runs further process and file system checks, so you may later need PHP CLI access or help from your host.
The screenshot shows an example host check with sensitive information removed; run the check on your own host. The check does not confirm which user runs your scheduled cron jobs, so confirm that separately with your host. Never disable the runtime checks, TLS validation or keyring checks to work around an unsupported environment.
If you use the REST API without WHMCS, these WHMCS and PHP hosting requirements do not apply. Follow the API documentation and the requirements of the example code you use.
