This function lists the versions of third-party software that ship with cPanel & WHM.
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ installed_versions
{- "data": {
- "apache": "2.4.12",
- "apache_php_default_version": 0,
- "apache_php_versions": [
- 0
], - "bind": "9.9.4-29",
- "clamav": "0.99.2-1",
- "cpanel_and_whm": "11.64.0.9999",
- "cpanel_packages": [
- "cpanel-ace-editor-1.2.6-1.cp1166.noarch",
- "cpanel-yui-2.9.0-5.cp1136.noarch"
], - "cpanel_php": "7.2.7-4",
- "cron": 0,
- "cronie": "1.4.11-23",
- "dovecot": "2.2.31 (65cde28)",
- "ea_4_packages": [ ],
- "easyapache": "4",
- "exim": "4.89-2",
- "linux_kernel": "3.10.0-327.18.2.el7.x86_64",
- "mailman": "2.1.23-9",
- "mariadb": 0,
- "mariadb_build": 0,
- "munin": 0,
- "mysql": "5.7.61",
- "mysql_build": "5.7.61-1",
- "nscd": "2.17-222",
- "openssh-server": "7.4p1-21",
- "operating_system_name": "centos",
- "operating_system_version": "7.2",
- "os_packages": [
- "ImageMagick-6.7.8.9-15.el7_2.x86_64",
- "zsh-5.0.2-14.el7.x86_64"
], - "p0f": "3.09b-1",
- "postgresql": 0,
- "postgresql_build": 0,
- "powerdns": 0,
- "proftpd": 0,
- "pureftpd": "1.0.45",
- "roundcube": "1.2.4-1",
- "rsyslog": "8.24.0-16",
- "spamd": "3.4.2",
- "squirrelmail": 0
}, - "metadata": {
- "command": "installed_versions",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}