We have a new documentation site for cPanel & WHM! You can find our new documentation site at docs.cpanel.net.
We will continue to maintain our API documentation on this server.
Call Your Application
Legacy Method (deprecated)
The configuration file defines two configuration settings that determine your application's behavior.
Your application's configuration file should resemble the following example:
This file contains the following settings:
The mode of data behavior to use.
For historical reasons, this setting defaults to simple, but we strongly recommend that you use full.
A list of the binaries that can call these routines. If not given, anything can invoke the module. For that reason, it is recommended always to specify /usr/local/cpanel/cpanel for this value.
If the /var/cpanel/skipparentcheck file exists, the system ignores the allowed_parents setting. We strongly recommend that you do not create this file on production systems.
A comma-separated list of compiled binaries.
The mode setting modifies the way in which your application handles the following parameters. In all cases, the first line of STDIN is a set of space-separated values.
For more information about application parameters, read our Guide to API Privilege Escalation - Application Files documentation.
There is no content with the specified labels