How to install WHMCS addons?

Summary
WHMCS addons may hang or freeze during installation due to PHP configuration issues, particularly with maxexecutiontime, memorylimit, postmaxsize, and uploadmax_filesize. Key steps for successful installation include backing up the WHMCS database and website files, adjusting PHP configurations in php.ini (increasing these values), restarting PHP-FPM/Apache, uploading addon files into modules/addons/, activating them via WHMCS admin, and configuring permissions. If activation times out or partially creates tables, repeat the process until all tables are fully generated. Common troubleshooting includes increasing php.ini settings, re-running activation, checking for ionCube Loader issues, verifying database table completeness, and ensuring proper access controls. Important reminders include testing on a staging environment first, keeping backups ready, lowering PHP limits after installation, and seeking support if issues persist.
Admin
Moderating
Donor Member
Master Member
Elite Member
Active Member
Joined
May 31, 2020
Messages
2,980
Reaction score
1,693
Many WHMCS addons may hang or freeze during installation. This is often related to PHP limits. You may need to re-run the activation process multiple times until the database tables for the addon are fully created.

Installation Steps:

  1. Backup WHMCS database and all website files before you begin.
  2. Adjust PHP configuration first to prevent installation timeoutIncrease these PHP values in php.ini:
max_execution_time = 300
memory_limit = 256M
post_max_size = 64M
upload_max_filesize = 64M
Restart PHP-FPM / Apache after saving changes. Both web PHP and CLI PHP should be checked.3. Upload addon filesUpload the addon folder into modules/addons/ under your WHMCS root.Check folder structure: modules/addons/addonname/, avoid nested subfolders.Set permissions: PHP files 644, folders 755.4. Activate addon in WHMCS adminNavigate to Setup > Addon Modules, find your addon and click Activate.

  • If the page hangs / times out: refresh the page and click Activate again.
  • Some addons cannot finish creating all database tables in one run. Repeat activation until no timeout occurs and all tables are fully generated in MySQL.
  1. Configure permissions and settingsAfter successful activation, click Configure. Set access control for admin roles and fill in module settings.
  2. Clear WHMCS cacheGo to Utilities > System > Clean Cache, then test addon functions.
Common troubleshooting:

  1. Installation stuck / white page: PHP time limit or memory insufficient. Increase php.ini values and retry activation.
  2. Partial database tables: The script stopped halfway. Re-run activation repeatedly until all tables are created. Do not reinstall the files again, just re-trigger activation.
  3. ionCube related errors: Confirm ionCube Loader is active on your web PHP. Many WHMCS addons are ionCube encoded.
  4. Addon shows activated but functions broken: Database tables incomplete. Re-run activation and check MySQL to verify tables exist.
Important reminders:

  • Perform addon installation on staging first before production deployment.
  • Keep your database backup ready in case partial table creation causes database errors.
  • After installation completes, you can lower PHP memory and execution limits back to normal values for security.
If you keep experiencing timeout or incomplete database tables, create a support thread and share your PHP version, php.ini settings and error logs.
 
Trending Resources
Back
Top