Admin
Moderating
Donor Member
Master Member
Elite Member
Active Member
- May 31, 2020
- 2,980
- 1,693
WHMCS core files are ionCube encoded. Before uploading and installing WHMCS, your server must have the latest ionCube Loader matching your server PHP version, otherwise you will get blank page or fatal PHP error.
Step1: Install latest ionCube Loader
- Confirm your server PHP version first (run php -v via SSH or create phpinfo.php to check).
- cPanel/WHM server method (recommended):Go to WHM → EasyApache, select your active PHP version, find ionCube extension, install and save profile, restart Apache/PHP-FPM.
- Manual SSH install (root required) download ionCube Loader package matching your OS + PHP version, upload ioncube folder to server, add zend_extension path into php.ini, restart web service.
- Verify ionCube: open phpinfo page, confirm ionCube Loader loaded successfully.
Important: The ionCube for web and CLI(cron) must both work. Many failed WHMCS cron jobs are caused by missing ionCube in CLI PHP.
Step2: Prepare database
- Create MySQL database and database user, grant full privileges to this user.
- Record DB name, DB user, password for later installation.
Step3: Upload WHMCS files
- Unzip downloaded WHMCS package locally.
- Upload all files to your web directory via FTP/SFTP.
- Set folder permissions:configuration.php : 644attachments/, downloads/, templates_c/ : 755All other folders 755, PHP files 644.
- Delete install folder after installation for security.
Step4: Web installation wizard
- Visit your WHMCS URL in browser, the install page will load.
- Fill in database connection information, admin username & password.
- Complete the web installer.
- After install, edit configuration.php to set proper configuration.
Step5: Apply patch (from our release)
- Backup full WHMCS files + database before applying any patch.
- Upload patch files to overwrite corresponding WHMCS files.
- Verify patch modification source, our patches are fully open source and you can check what changes are made.
- Login WHMCS admin panel, verify all core functions work normally.
- Blank page: ionCube Loader not installed / wrong ionCube version / mismatch PHP version.
- Cron task not run: CLI PHP does not have ionCube loaded, need configure CLI php.ini separately.
- Permission error: templates_c or attachments folder lack write permission.
- Test on staging server first before production deployment. Even with patches, ionCube encoded files cannot be fully audited.
- Backup database and all WHMCS files before install, patch or upgrade.
- Keep monitoring server outbound logs to watch for unexpected remote callbacks.
- WHMCS has strict PHP requirements, PHP8.0 is unsupported, recommended PHP7.4 / PHP8.1.