Guide to WHM Plugins - AppConfig Registration

Introduction

Use AppConfig to register plugins with the WHM interface. AppConfig registration adds plugin icons to the WHM interface automatically. It also configures the plugin's ACL requirements, upgrade script information, and other plugin variables.

Notes:

  • This method is available in cPanel & WHM version 11.32 and later, and is required for cPanel & WHM version 11.38.1 and later. 

AppConfig registration

To register your WHM plugin with AppConfig, perform the following steps as the root user:

  1. If it does not already exist, create the /var/cpanel/apps directory.
  2. Run the following command to set the correct directory permissions:

    chmod 755 /var/cpanel/apps
  3. Create an AppConfig configuration file for the plugin.
  4. Run the following command to register the configuration file, where example.conf is the configuration file:

    /usr/local/cpanel/bin/register_appconfig ~/example.conf
  5. Run the following command to confirm that the plugin created its own .conf file in the /var/cpanel/apps/ directory:

    ls -al /var/cpanel/apps

    This command's output should resemble the following example:

    total 12
    drwxr-xr-x  2 root root 4096 Aug  6 22:41 ./
    drwxr-xr-x 83 root root 4096 Aug  7 18:00 ../
    -rw-------  1 root root  259 Aug  6 22:41 example.conf
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

The cPanel Interface

For  cPanel  &  WHM  version  58 Overview The cPanel interface is...

User Preferences

For cPanel & WHM version 58 Overview This document outlines how to access your cPanel...

Manage External Authentications

For cPanel & WHM version 58 Overview Manage credentials Additional documentation...

What is cPanelID?

In This Article:  Overview ServicesHow to get a cPanelID cPanelID External...

Guide to cPanel Interface Customization - cPanel Style Development

Introduction You can develop custom styles that modify the appearance of the cPanel interface....