Skip to main content

Installation

This guide will walk you through installing cPanel Premium for WHMCS.

Download

After purchasing, download the cpanel_extended.zip file from your account.

Upload Files

  1. Extract the cpanel_extended.zip file
  2. Upload the cpanel_extended folder to:
    /path/to/whmcs/modules/servers/

Your directory structure should look like:

modules/
└── servers/
└── cpanel_extended/
├── cpanel_extended.php
├── hooks.php
├── lib/
├── ajax/
├── assets/
├── templates/
└── lang/

File Permissions

Set the correct permissions:

chmod 755 modules/servers/cpanel_extended
chmod 644 modules/servers/cpanel_extended/*.php
chmod -R 755 modules/servers/cpanel_extended/lib
chmod -R 755 modules/servers/cpanel_extended/ajax
chmod -R 755 modules/servers/cpanel_extended/assets
chmod -R 755 modules/servers/cpanel_extended/templates

Server Configuration

Add Your Server

  1. Go to WHMCS Admin → Setup → Products/Services → Servers
  2. Click Add New Server
  3. Fill in the details:
FieldValue
NameYour server name
Hostnameserver.example.com
IP AddressServer IP
Usernameroot (or reseller username)
PasswordLeave empty if using API token
Access HashWHM API token
TypecPanel Premium
Secure✓ Check this box

Generate WHM API Token

  1. Login to WHM as root
  2. Go to Development → Manage API Tokens
  3. Click Generate Token
  4. Copy the token and paste it in the Access Hash field in WHMCS

Product Configuration

Create a Product

  1. Go to WHMCS Admin → Setup → Products/Services → Products/Services
  2. Click Create a New Product
  3. Select:
    • Product Type: Hosting Account
    • Product Group: Your group
    • Module: cPanel Premium

Module Settings

In the Module Settings tab, configure:

SettingDescription
PackagecPanel package to use
Account TypeUser or Reseller
Dedicated IPAssign dedicated IP
CGI AccessEnable CGI scripts
Shell AccessEnable SSH access
Reseller ACLACL list for resellers
Reseller OversellingAllow overselling

Verification

To verify the installation:

  1. Go to WHMCS Admin → Utilities → Module Queue
  2. Check for any errors
  3. Create a test order and provision an account

Troubleshooting

Module Not Appearing

  • Check file permissions
  • Clear WHMCS cache: Utilities → System → System Cleanup
  • Verify folder name is exactly cpanel_extended

API Connection Failed

  • Verify WHM API token is correct
  • Check if port 2087 is open
  • Ensure "Secure" checkbox is enabled
  • Test API connection in WHM

Permission Denied

  • Verify root/reseller has API access
  • Check WHM → Security Center → Host Access Control

Need help? Contact https://vorxhub.com/workspace/tickets