Skip to content

Requirements

Arthu Santiago edited this page Nov 30, 2026 · 1 revision

Requirements

This page lists what KeyAnyWhere needs to run: the software that must be installed and the hardware it uses. Read it before the Quick Start or the production installation, so you know the server or computer you picked is enough.

Software

KeyAnyWhere is a PHP application built on CakePHP 5 and stores its data in PostgreSQL. These are the minimum versions; the project's CI runs on PHP 8.4 and PostgreSQL 18.

Software Version Notes
PHP 8.4 or later Extensions: intl, mbstring, pdo_pgsql, sodium, openssl, iconv, json, xml, zip (for Composer).
PostgreSQL 17 or later The only supported database. The migrations use PostgreSQL-specific SQL and the uuid-ossp extension (shipped with PostgreSQL). MySQL and SQLite do not work.
Composer 2.x Installs the PHP dependencies.
Git any recent Downloads the code and makes upgrades a git checkout.
Apache 2.4 with mod_php and mod_rewrite Production only. Development uses the server built into CakePHP.
HTTPS certificate — Mandatory in production: with debug off, KeyAnyWhere refuses plain HTTP.

The commands in this wiki were written for Debian 13 (trixie), whose packages already ship PHP 8.4 and PostgreSQL 17. Other Linux distributions work too; only the package names change. On Ubuntu 24.04, which ships PHP 8.3, add the ondrej/php PPA to get PHP 8.4.

Hardware

KeyAnyWhere is light: it serves a handful of people, with no background jobs. These numbers come from an installation with the full catalog of insecure passwords loaded.

Resource Minimum Notes
CPU 1 core
RAM 512 MB for the application and the database together Measured on Debian 13: each Apache worker uses about 45 MB (much of it shared between workers), and PostgreSQL about 70 MB at rest.
Disk 1 GB About 180 MB of code and dependencies (production install, without development tools; the catalog's seed files are 110 MB of it), about 115 MB for the database with the insecure password catalog, plus room for logs and backups.

Tip

Loading the insecure password catalog is the only heavy task: it inserts about a million rows once. If your server is very small, give it more memory just for that step, or load the catalog on another machine and restore the database dump.

On AWS, t4g.nano instances (or t3.nano) are enough for the application, with the database on the same instance or on a second one.

Next step

Clone this wiki locally