How to Install WHMCS
Step-by-step guide to installing WHMCS on your RemarkableCloud cPanel server: prerequisites, installation, initial configuration, and connecting to your Cloud Cubes.
WHMCS is the billing and client management platform used by most hosting resellers. This guide covers installing it on a cPanel account on your RemarkableCloud server.
Prerequisites
- A cPanel account with at least 2 GB disk space and PHP 8.1+
- A WHMCS license (purchase at whmcs.com)
- MySQL 8.0+ (available on all Cloud Cubes)
- ionCube loader installed (required by WHMCS: pre-installed on RemarkableCloud)
- A domain pointed at your server for the billing portal
Installation
whmcsinstall.php file to your cPanel account's public_html (or a subdirectory like public_html/billing).https://yourdomain.com/whmcsinstall.php in your browser.configuration.php), and creates your admin account.whmcsinstall.php after installation completes.public_html/billing rather than the document root. This keeps your main site and billing portal separate, making it easier to manage both independently.
Post-installation checklist
php -q /home/user/public_html/billing/crons/cron.php
Set frequency to every 5 minutes.
/admin folder to something unique and update the path in configuration.php under $adminpath.Securing WHMCS
# Set correct ownership
chown -R cpanelusername:cpanelusername /home/cpanelusername/public_html/billing
# Protect configuration.php
chmod 400 /home/cpanelusername/public_html/billing/configuration.php
# Protect the templates_c directory
chmod 777 /home/cpanelusername/public_html/billing/templates_c
Add to your WHMCS .htaccess:
# Block direct access to sensitive files
<FilesMatch "\.(php|php3|php4|php5|phtml|pl|py|jsp|asp|aspx|cgi|sh|tar|gz|bz2|zip|sql)$">
Order Allow,Deny
Deny from all
</FilesMatch>