Requirements in detail

What a server needs to run yf, with the version notes. The short list is on Install yf.

PHP8.2 or newer; CI tests 8.4 and 8.5. Composer 2 for a Composer project.
PHP extensions Always: mbstring intl gd mysqli pdo_mysql sodium zip pcntl.
Caches: redis (also serves Valkey), igbinary, memcached.
PostgreSQL: pgsql pdo_pgsql. SQLite: pdo_sqlite.
MariaDB / MySQLMariaDB 10.11 or MySQL 8.0. Tables are utf8mb4, see below.
PostgreSQLPostgreSQL 16. The installer sets up MySQL / MariaDB or SQLite; a PostgreSQL project is set up by hand (Manual setup).
SQLiteSQLite 3.26+, 3.35+ recommended: one file, no server. Its differences from MySQL are in Manual setup.
Cache and queues (optional)Redis 7 or Valkey 7.2+, Memcached 1.6.
Web servernginx (or Caddy) with PHP-FPM 8.x; Traefik or Envoy as an edge proxy in front of nginx; php -S for development. Apache is not supported: yf ships no .htaccess. Configs: Web server.

MariaDB and MySQL: utf8mb4

The installer creates the database and its tables as utf8mb4 (collation utf8mb4_unicode_ci). An index on a utf8mb4 text column takes up to 4 bytes a character, so InnoDB needs innodb_default_row_format=dynamic for keys up to 3072 bytes. It is the default since MariaDB 10.2.2 and MySQL 5.7.9; a server that was upgraded from an older version may still set compact. Check it with:

SELECT @@innodb_default_row_format;