Files
Cactidocumentation/Requirements.md
T
Thomas Vincent c53d1ac3a2 docs(install): [1.2.x] correct requirements, installation and upgrade pages against the source (#261)
* docs(install): [1.2.x] correct requirements against the installer checks

Compare the requirements and installation pages with the 1.2.x installer:
add the required intl and pcntl modules, move gmp and com_dotnet from
optional to required, list gettext as optional, state the PHP floor and
recommended limits, the database and RRDtool versions the installer
checks, add the processes MEMORY table, and list cache/purifier among
the paths the installer checks.

Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>

* docs(release-notes): [1.2.x] match the CHANGELOG example entries

Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>

* docs(install): [1.2.x] align nginx deny lists with the shipped .htaccess rules

Deny cache/purifier and tests, which ship an Apache deny rule, in both
nginx examples. State the PHP versions required by the bundled libraries
(composer.json) next to the installer's 5.4.0 check.

Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>

---------

Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
2026-11-23 15:12:50 -05:00

7.8 KiB

Requirements

This manual covers released Cacti 1.2.31. Use maintained operating systems and dependencies compatible with this release. Historical minimum-version checks are not recommendations to install software that no longer receives security updates. The development branch has different requirements.

Supported operating systems

Platform guidance checked on 26 October 2026. Use the current security-updated point release in a vendor-supported stable branch. The examples below target these maintained operating systems; vendor OS support does not certify every Cacti, PHP, database, or third-party binary combination.

Operating system Versions used for installation guidance Lifecycle source
RHEL Current supported minor release of 9 or 10 Red Hat lifecycle
Rocky Linux Current minor release of 9 or 10 Rocky releases
AlmaLinux Current minor release of 9 or 10 AlmaLinux releases
Ubuntu Server 24.04 LTS, 26.04 LTS, or 26.10 Ubuntu lifecycle
Debian 13 stable; 12 only with applicable Debian LTS coverage Debian lifecycle
FreeBSD 14.5-RELEASE or 15.1-RELEASE, with current patches FreeBSD security support
Windows Server 2022 or 2025, with current updates Server 2022, Server 2025

Check the linked lifecycle information before deployment. LTS coverage can exclude architectures or packages. Use a maintained PHP and database version that also meets this Cacti branch's requirements. A supported OS with an incompatible default PHP version is not ready for installation. Do not use a beta OS or an expired point release for these procedures.

Software requirements

Component Deployment guidance
Web server Maintained PHP-capable Apache, nginx, or IIS FastCGI
PHP A vendor-maintained PHP branch compatible with Cacti 1.2.31; the installer's own version check is only a 5.4.0 floor, while the bundled libraries require PHP 8.0 or later in 1.2.31 and 8.2 or later on 1.2.x; validate CLI and web PHP with the installer
Database A maintained MySQL or MariaDB branch; check the actual server with the installer. The 1.2.x installer recommends MySQL 8.0 or later or MariaDB 10.5 or later; the 1.2.31 release named MySQL 5.6 and MariaDB 10.0
RRDtool A maintained distribution package; the installer accepts version 1.3 or later, and 1.5 or later is needed for the DCOUNTER and DDERIVE data source types and the --skip-past-updates update option
SNMP Net-SNMP command-line tools for the collection paths that require them
Spine Optional; choose a release compatible with Cacti 1.2.31

Use the selected operating system's supported packages and their security updates. Check the PHP lifecycle, MySQL lifecycle, and MariaDB maintenance policy when choosing dependencies. Vendor maintenance alone does not establish compatibility with every Cacti release or plugin. Test the intended combination before production upgrades.

Cacti 1.2.31 ships its runtime libraries. Do not apply development-branch Composer instructions or extension requirements to this release. A later source revision may change packaging; use that revision's requirements.

PHP configuration and extensions

The released extension checks cover CLI and web PHP separately. Required modules include ctype, date, filter, gd, gmp, hash, intl, json, ldap, mbstring, openssl, pcre, PDO, pdo_mysql, session, simplexml, sockets, spl, standard, xml, and zlib, with posix and pcntl on Unix and com_dotnet on Windows. The installer checks pcntl in CLI PHP only; the Unix polling daemon uses it to fork. The installer also reports snmp, gettext and the gd TrueType functions as optional.

The installer also recommends a memory_limit of at least 400M (800M before PHP 7), a max_execution_time of at least 60 seconds, and a valid date.timezone.

Check php -v, php --ini, and php -m, then inspect the web environment in the installer. Modules built into PHP do not need an extra extension load. The PHP SNMP extension is optional; external Net-SNMP tools are needed for collection paths that the extension does not handle. In 1.2.31 this includes all SNMPv3 requests. In the 1.2.x branch it includes SNMPv3 requests that use a context or engine ID, hex output, walks when snmpbulkwalk is present, and authentication or privacy protocols the extension rejects. Configure executable paths and verify them under the actual collector and web accounts.

Database configuration

Create a dedicated application database and account. Use utf8mb4 and utf8mb4_unicode_ci consistently. Load timezone information and grant SELECT on mysql.time_zone_name; the grant alone does not populate it.

Use the installer's version-aware recommendations and the database vendor's configuration reference. Do not paste one my.cnf block onto every server. Removed variables can prevent startup, and global or per-connection buffers can exhaust memory when sized without accounting for concurrency.

Estimate Spine's connections as:

total_connections = total_processes * (total_threads + script_servers + 1)

Allow headroom for web requests, plugins, maintenance, and other clients. Inspect storage engines before sizing memory-table limits. Keep InnoDB doublewrite protection enabled unless the storage or database provides atomic writes. The installer recommends turning it off only on MariaDB 10.2.4 and later with innodb_use_atomic_writes on. Storage advertised as SSD does not by itself provide atomic page writes. Review durability before changing commit flushing, and do not disable strict SQL modes as a setup shortcut.

Refer to the MySQL configuration reference or MariaDB InnoDB reference for the exact installed version. For backups, pause writers and account for nontransactional tables as well as RRD files; see Upgrading Cacti.

Resources and permissions

Size CPU, RAM, storage, and database connections from representative polling and graphing load. Account for data-source count, polling interval, retention, collector threads, concurrent users, and storage latency. Device count alone is not a capacity guarantee. Monitor polling duration and graph freshness.

Keep executable code owned by an administrator. Give web and collector accounts access only to their required tools, configuration, and runtime paths. Restrict temporary installation/import write permissions afterward. Keep credentials, CSRF secrets, RRDs, private caches, and backups inaccessible over HTTP. Configure platform security controls for the operations needed; do not disable them globally to complete installation.


Copyright (c) 2004-2026 The Cacti Group