---
title: "Return third-party software versions"
method: GET
path: "/installed_versions"
tags: ["Updates"]
---

# Return third-party software versions

`GET /installed_versions`

This function lists the versions of third-party software that ship with cPanel & WHM.

## Query parameters

- `packages` 0 | 1

## Response `200`

HTTP Request was successful.

- object
  - `data` object
    - `apache` union — The Apache® version. * `0` - Apache is **not** installed on the server.
      - string — A version of Apache.
      - 0 — Apache is **not** installed.
    - `apache_php_default_version` union — The default PHP version for Apache. * `0` - PHP for Apache is **not** installed on the server.
      - string — A version for Apache of default PHP.
      - 0 — default PHP is **not** installed.
    - `apache_php_versions` union[] — An array of PHP versions that the system installs for Apache. If PHP for Apache is **not** installed, this will return an array containing `0`. **Note:** Unlike other keys in this object, this returns a `[0]` value when PHP for Apache is **not** installed.
      - union
        - string — A version of PHP for Apache.
        - 0 — PHP for Apache is **not** installed on the server.
    - `bind` union — The BIND version. * `0` - BIND is **not** installed on the server.
      - string — A version of BIND.
      - 0 — BIND is **not** installed.
    - `clamav` union — The ClamAV version. * `0` - ClamAV is **not** installed on the server.
      - string — A version of ClamAV.
      - 0 — ClamAV is **not** installed.
    - `cpanel_and_whm` string — The cPanel & WHM version.
    - `cpanel_packages` string[] — An array of cPanel-provided RPMs. **Note:** The function **only** returns this array if you set the `packages` parameter to `1`.
    - `cpanel_php` union — The system PHP version. * `0` - System PHP is **not** installed on the server.
      - string — A version of cPanel & WHM.
      - 0 — cPanel & WHM is **not** installed.
    - `cron` union — The version of the ISC / Vixie cron daemon. This is the default cron service installed on Ubuntu. * `0` - ISC / Vixie cron is **not** installed on the server.
      - string — A version of the cron daemon.
      - 0 — ISC / Vixie cron is **not** installed.
    - `cronie` union — The version of the cronie cron daemon. This is the default cron service installed on CentOS, CloudLinux, AlmaLinux, and other systems running derivatives of Red Hat Enterprise Linux. * `0` - cronie is **not** installed on the server.
      - string — A version of the cron daemon.
      - 0 — cronie is **not** installed.
    - `dovecot` union — The Dovecot version. * `0` - Dovecot is **not** installed on the server.
      - string — A version of Dovecot.
      - 0 — Dovecot is **not** installed.
    - `ea_4_packages` string[] — An array of EasyApache 4 (EA4)-provided RPMs. **Note:** The function **only** returns this array if you set the `packages` parameter to `1`.
    - `easyapache` union — The EasyApache version. * `0` - EasyApache is **not** installed on the server.
      - string — A version of EasyApache.
      - 0 — EasyApache is **not** installed.
    - `exim` union — The Exim version. * `0` - Exim is **not** installed on the server.
      - string — A version of Exim.
      - 0 — Exim is **not** installed.
    - `linux_kernel` string — The Linux® kernel version.
    - `mailman` union — The Mailman version. * `0` - Mailman is **not** installed on the server.
      - string — A version of Mailman.
      - 0 — Mailman is **not** installed.
    - `mariadb` union — The MariaDB® version number. * `0` - MariaDB is **not** installed on the server.
      - string — A version number of MariaDB.
      - 0 — MariaDB is **not** installed.
    - `mariadb_build` union — The MariaDB RPM's version number. * `0` - MariaDB RPM's is **not** installed on the server.
      - string — A version number of MariaDB RPM's.
      - 0 — MariaDB RPM's is **not** installed.
    - `munin` union — The Munin version. * `0` - Munin is **not** installed on the server.
      - string — A version of Munin.
      - 0 — Munin is **not** installed.
    - `mysql` union — The MySQL® version number. * `0` - MySQL is **not** installed on the server.
      - string — A version number of MySQL.
      - 0 — MySQL is **not** installed.
    - `mysql_build` union — The MySQL RPM's version number. * `0` - MySQL RPM's is **not** installed on the server.
      - string — A version number of MySQL RPM's.
      - 0 — MySQL RPM's is **not** installed.
    - `nscd` union — The Name Service Cache Daemon version number. * `0` - Name Service Cache Daemon is **not** installed on the server.
      - string — A version number of Name Service Cache Daemon.
      - 0 — Name Service Cache Daemon is **not** installed.
    - `openssh-server` union — The OpenSSH version. * `0` - OpenSSH is **not** installed on the server.
      - string — A version of OpenSSH.
      - 0 — OpenSSH is **not** installed.
    - `operating_system_name` string — The server's operating system (OS).
    - `operating_system_version` string — The version of the server's OS.
    - `os_packages` string[] — An array of OS-provided RPMs. **Note:** The function **only** returns this array if you set the `packages` parameter to `1`.
    - `p0f` union — The Passive OS Fingerprinting version number. * `0` - Passive OS Fingerprinting is **not** installed on the server.
      - string — A version number of Passive OS Fingerprinting.
      - 0 — Passive OS Fingerprinting is **not** installed.
    - `postgresql` union — The PostgreSQL® version. * `0` - PostgreSQL is **not** installed on the server.
      - string — A version of PostgreSQL.
      - 0 — PostgreSQL is **not** installed.
    - `postgresql_build` union — The PostgreSQL RPM's version number. * `0` - PostgreSQL RPM's is **not** installed on the server.
      - string — A version number of PostgreSQL RPM's.
      - 0 — PostgreSQL RPM's is **not** installed.
    - `powerdns` union — The PowerDNS version. * `0` - PowerDNS is **not** installed on the server.
      - string — A version of PowerDNS.
      - 0 — PowerDNS is **not** installed.
    - `proftpd` union — The ProFTP version. * `0` - ProFTP is **not** installed on the server.
      - string — A version of ProFTP.
      - 0 — ProFTP is **not** installed.
    - `pureftpd` union — The Pure-FTPd version. * `0` - Pure-FTPd is **not** installed on the server.
      - string — A version of Pure-FTPd.
      - 0 — Pure-FTPd is **not** installed.
    - `roundcube` union — The Roundcube version. * `0` - Roundcube is **not** installed on the server.
      - string — A version of Roundcube.
      - 0 — Roundcube is **not** installed.
    - `rsyslog` union — The Rsyslog version number. * `0` - Rsyslog is **not** installed on the server.
      - string — A version number of Rsyslog.
      - 0 — Rsyslog is **not** installed.
    - `spamd` union — The Apache SpamAssassin™ version number. * `0` - Apache SpamAssassin is **not** installed on the server.
      - string — A version number of Apache SpamAssassin.
      - 0 — Apache SpamAssassin is **not** installed.
  - `metadata` object
    - `command` string — The method name called.
    - `reason` string — The reason the API function failed when the `metadata.result` field is 0. This field may display a success message when a function succeeds.
    - `result` 0 | 1 — * `1` - Success * `0` - Failed: Check the reason field for more details.
    - `version` integer — The version of the API function.

---

[API](https://skmtc.net/cpanel/apis/whm-api.md) · [All operations](https://skmtc.net/cpanel/apis/whm-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cpanel/whm-api/revisions/3da41671c02c/schema)
