The hub is the heart of Complete Members: one admin, one database and one API that runs every website you add. You install it once, on a domain of your choosing - a dedicated hub domain or a subdomain such as admin.yoursite.com works well - and from then on you manage everything from there.
Before you start
You need PHP 8.1 or newer with the usual extensions (pdo_mysql, mbstring, openssl, sodium, curl, gd, fileinfo and json), MySQL 5.7.8+ or MariaDB 10.3+, and HTTPS. Ordinary shared hosting is enough - there is no Composer, Node, Docker or shell requirement. Have your Installation Key and your InstallationKey API key to hand; you entered the key in your purchase email.
Upload the hub
Upload the contents of the hub/ folder to the domain that will run your admin, so that index.php and install.php sit at the top level. Then, in your hosting control panel, create an empty MySQL database and a user with full rights on it. Note the database name, user and password - cPanel usually adds your account prefix to the names.
Run the install wizard
Open https://yourhubdomain/install.php in your browser. The wizard walks you through five short steps:
- Requirements check - confirms your PHP version and extensions are in place.
- Database - enter the details you just created; the wizard builds all the tables for you.
- Your hub - set the hub's web address, site name and currency.
- Owner account - create the first admin account. Use a strong, unique password.
- Licensing - paste your InstallationKey API key (it is stored masked) and, if you like, activate your licence key now.
The wizard writes your settings to config/config.php and marks the install complete with config/installed.lock. If you ever re-upload the hub, never overwrite those two files, config/service.php or the storage/ folder.
Finish up
When the wizard reports success, delete install.php from the server - it will not run again once the lock file exists, but removing it is good hygiene. Make sure HTTPS is switched on for the hub domain, then sign in to the admin with the owner account you just created.
Add the cron job
One cron job keeps the scheduled work ticking over: expiring memberships, approving held commissions, retrying emails and postbacks, and the daily licence re-check. Add it in your control panel to run every few minutes:
| If you have shell/cron access | */5 * * * * php /home/youruser/yourhubdomain/cron.php >/dev/null 2>&1 |
|---|---|
| If you only have a URL scheduler | Fetch https://yourhubdomain/cron.php?key=YOURKEY every few minutes, after setting a cron_key value. |
That's the hub installed. Next, add your first website and upload its connector, then connect a payment processor.
Frequently asked questions
What do I need to install Complete Members?
PHP 8.1 or newer with the usual extensions, MySQL 5.7.8+ or MariaDB 10.3+, and HTTPS. Ordinary shared hosting with cPanel is fine - there is no Composer, Node, Docker or shell requirement.
Do I have to delete install.php afterwards?
Yes. Once the wizard finishes it writes an installed.lock file and will not run again, but you should still delete install.php from the server as a matter of good hygiene.
Why is the cron job important?
The cron runs the scheduled work: expiring memberships, approving held commissions, retrying emails and postbacks, and the daily licence re-check. Without it, those jobs never run.
