cPanel API 2 Modules - LangMods
Warning:
The cPanel API 2 system is deprecated. We strongly recommend that you use UAPI instead of cPanel API 2.
Introduction
The LangMods
module controls scripting language modules.
Available functions
-
cPanel API 2 Functions -
LangMods::getarchname
— This function retrieves a cPanel-supported scripting language's processor architecture. -
cPanel API 2 Functions -
LangMods::getkey
— This function retrieves a cPanel-supported scripting language's key, or long name. -
cPanel API 2 Functions -
LangMods::getprefix
— This function retrieves a cPanel-supported scripting language module's base directory. -
cPanel API 2 Functions -
LangMods::install
— This function installs a cPanel-supported language module. -
cPanel API 2 Functions -
LangMods::langlist
— This function lists the server's available scripting languages. -
cPanel API 2 Functions -
LangMods::list_available
— This function lists a language module system's available modules. -
cPanel API 2 Functions -
LangMods::list_installed
— This function lists a cPanel-supported scripting language's installed modules. -
cPanel API 2 Functions -
LangMods::magic_status
— This function checks whether a cPanel-supported scripting language has magic status enabled. -
cPanel API 2 Functions -
LangMods::pre_run
— This function updates the indexes and actions for a cPanel-supported language. -
cPanel API 2 Functions -
LangMods::search
— This function lists a cPanel-supported scripting language's available modules. -
cPanel API 2 Functions -
LangMods::setup
— This function determines whether the account meets the requirements for the cPanel module installer. -
cPanel API 2 Functions -
LangMods::uninstall
— This function uninstalls a cPanel-supported language module. -
cPanel API 2 Functions -
LangMods::update
— This function updates a specified cPanel-supported language module.