How to Purchase and Install WHMCS

This article explains how to purchase and install WHMCS through cPanel, including one‑click installation, advanced configuration, and manual installation. It also covers licensing, directory setup, permissions, and post‑installation steps.

WHMCSBilling AutomationcPanel Installation

~3 min read · Updated Feb 20, 2026

1. Introduction to WHMCS


WHMCS is an all‑in‑one billing and automation platform designed for web hosting businesses. You can purchase a WHMCS license through the cPanel Store and install it directly on your cPanel account.


2. Install WHMCS as Site Software


Before installing WHMCS as Site Software, your hosting provider must enable the WHMCS cPAddon in:


WHM » Home » cPanel » Install cPAddons Site Software


2.1 One‑Click Installation


To perform a one‑click installation, follow these steps:


Requirements:


You must have a contact email set in:


cPanel » Home » Preferences » Contact Information


Steps:


  • Navigate to cPanel » Home » Software » Site Software.
  • Under Automation, click WHMCS.
  • Select a domain from the Installation Domain menu.
  • If the domain already has a license, click Install.
  • If you own a license but it is not detected, click Enter a license manually and enter your key.
  • If no license exists, click Buy License to purchase one from the cPanel Store.

After installation, the interface will display:


  • Success message
  • Admin username
  • Admin password
  • WHMCS admin URL

2.2 Advanced Configuration Installation


  • Navigate to cPanel » Home » Software » Site Software.
  • Select WHMCS under Automation.
  • Select a domain.
  • Click Show Advanced Configuration.

Notes:


  • If no contact email is set, advanced options appear automatically.
  • Advanced mode does not support Buy License; purchase separately from the cPanel Store.

Advanced Options:


  • Enter installation directory (leave blank for document root).
  • Enter admin username.
  • Enter and confirm password.
  • Enter admin email.

After installation, the interface will show the WHMCS admin URL. Log in using the credentials you created.


3. Manual Installation of WHMCS


3.1 Prerequisites


  • Install ionCube (follow WHMCS IonCube Installation Tutorial).
  • Create a database using cPanel’s Database Wizard.

3.2 Manual Installation Steps


  • Go to the WHMCS download page.
  • Enter your license key and download the .zip file.
  • Extract the file on your computer.
  • Rename configuration.php.new to configuration.php.
  • Upload the WHMCS folder to your hosting account.

Notes:


  • The default folder name is whmcs.
  • You may rename it (e.g., clients, billing).
  • You cannot use admin as the directory name.

3.3 Run the Installer


Navigate to:


example.com/whmcs/install/install.php


If you renamed the directory, replace whmcs with the new name.


Follow the on‑screen instructions to complete installation.


3.4 Post‑Installation Commands


Navigate to your WHMCS directory:


cd /home/example/public_html/billing

Set secure permissions:


chmod 400 configuration.php
chmod 755 attachments
chmod 755 downloads
chmod 755 templates_c

Important:


Some environments may require 777 permissions. Only use 777 if your account is the only one with shell access.


3.5 Final Steps


  • Delete the install directory.
  • Log in to the admin area:

example.com/whmcs/admin


If you renamed the directory, replace whmcs accordingly.


Conclusion


Installing WHMCS is simple whether you use one‑click installation, advanced configuration, or manual setup. With proper licensing and configuration, WHMCS provides a powerful automation and billing system for hosting businesses.


Written & researched by Dr. Shahin Siami

Related Articles

How to Restore Your cPanel Account: A Complete Guide for New System Administrators

This guide explains how new system administrators can restore a cPanel account using WHM, transfer accounts and configurations between servers, and enable diagnostic logging for transfer and restore operations. It covers essential concepts such as WHM vs. cPanel, root access, backup handling, SFTP uploads, transfer methods, and advanced debugging tools.

Continue

آموزش کامل انتقال تمام اکانت‌های cPanel از یک سرور به سرور دیگر

این مقاله نحوه انتقال همه اکانت‌های cPanel، تنظیمات سرویس‌ها، گواهی‌های SSL و IP اصلی سرور را از یک سرور قدیمی (Source) به یک سرور جدید (Target) توضیح می‌دهد. شامل نصب سرور جدید، انتقال تنظیمات، انتقال اکانت‌ها، تغییر IP، تنظیم DNS و نصب مجدد SSL است.

Continue

How to Migrate a WordPress® Installation to a cPanel & WHM Server

This guide explains how to migrate a WordPress installation from a macOS-hosted environment to a cPanel & WHM server. It covers exporting the database, uploading WordPress files, creating and importing a MySQL database, updating URLs, configuring wp-config.php, fixing broken links, and finalizing the migration.

Continue

How to Manually Transfer an Account Between Servers in cPanel & WHM

This article explains how to manually transfer a cPanel account between servers when the account is too large for WHM’s automated transfer tools. It covers creating temporary directories, compressing public_html and log files, securely transferring data with SCP, and restoring the files on the destination server.

Continue

How to Manually Migrate Horde Calendars and Contacts to Roundcube in cPanel & WHM

This article explains how to manually migrate Horde calendars and contacts to Roundcube in cPanel & WHM version 108 through 118. It covers exporting Horde data, placing it in the correct directories, and importing it into Roundcube using built‑in plugins or manual import tools.

Continue

How to Manually Migrate Accounts to cPanel & WHM from Unsupported Control Panels

This article explains how experienced system administrators can manually migrate accounts from unsupported third‑party control panels to cPanel & WHM. It covers pre‑migration steps, installation requirements, file and directory transfers, database restoration, SSL migration, and post‑migration tasks.

Continue