Docs: Requirements
Requirements
What Tilspire needs to run — PHP, MariaDB, and a web server with mod_rewrite. No Composer or Node.js required.
Tilspire runs on the hosting most people already have. Here's exactly what it needs.
Server #
- PHP 8.2 or later (8.2 to 8.5 are supported), with the
mysqli,json,mbstringandfileinfoextensions. The setup wizard checks each of these before it installs anything. - MariaDB 10.11 or later, or MySQL 8.4 or later. Since 1.21.0 both are supported, each held to its own minimum. Tilspire is tested on MariaDB 11.8 and MySQL 8.4; any other version at or above its minimum is accepted by its number (MySQL 9.x, Percona and Aurora, for example). MySQL below 8.4 is refused by the installer, the updater and Health: MySQL 8.0 lost vendor support in April 2026.
- Apache with
mod_rewrite. Tilspire routes every request through one front controller, using the rules in the.htaccessfile it ships with. Behind nginx, copy those rules into the server configuration yourself: nginx never reads.htaccess. Since 1.18.0 that includeslocation ^~ /uploads/tickets/ { return 404; }, which keeps Feedback's ticket attachments private, and since 1.20.0location ^~ /uploads/private/ { return 404; }, which does the same for protected files; see Security. Since 1.20.2 a host that ignores.htaccessneeds no server change from you for these two. Health shows amber foruploads/tickets/,uploads/private/andsite/drafts/there: files open only with their exact address, and the folders cannot be listed. Health shows red if PHP runs underuploads/; ask your host to block it. These nginx rules are the full lock, optional, for whoever manages the server.
Two limits on MySQL, since 1.21.0. Moving a site from one kind of server to the other is not supported: a MariaDB dump loaded into MySQL stops at the collation utf8mb4_uca1400_ai_ci. And on MySQL ten tables use the collation utf8mb4_0900_ai_ci, which does not ignore a trailing space; Tilspire cleans those keys before saving them. Every database connection also sets one SQL mode, looser than stock MariaDB's strict mode: an over-long value is cut, not refused. Strict connections are planned for 1.22.0.
Since 1.18.0 the root .htaccess also sets how long browsers keep static files, a week with ?v= and an hour without. Nginx never reads .htaccess, so there those lifetimes need this optional rule in the site's nginx configuration (on Plesk, Apache & nginx ▸ additional nginx directives):
location ~* ^/(?!uploads/).+\.(css|js|woff2?|ttf|svg|png|jpe?g|gif|webp|avif|ico)$ {
expires 1h;
if ($arg_v) { expires 7d; }
}
The rule is not required. Without it the site works and browsers guess a lifetime, as they did before 1.18.0.
Since 1.19.0 the root .htaccess also has a media fallback (rule 2c) for old flat addresses such as /uploads/media/photo.jpg. A new upload goes into a month folder, uploads/media/2026/10/, so a theme that still writes the flat address by hand would get a 404 for it. The rule hands such a name to Tilspire, which answers with a permanent redirect to the file's real address, or with a 404. Nginx never reads .htaccess, so there it is this rule:
location ~* "^/uploads/media/(?![^/]*\.(php|php\.|phtml|phps|php[0-9]|cgi|pl|py|jsp|asp|aspx|shtml|sh)$)(?<media_name>[A-Za-z0-9][A-Za-z0-9._-]*)$" {
try_files $uri /index.php?url=uploads/media/$media_name;
}
The rule is not required. Without it, only a theme that builds the flat address by hand breaks. Pictures in rich text, image() and picture() never do.
For updates and Pro modules #
The built-in updater downloads over HTTPS and unpacks signed .tar.gz packages, so it needs the curl, openssl and Phar extensions. Most PHP builds include all three. Off-site backups, AI providers, sign-in providers and content sync also use curl.
Optional #
- OpenSSL with AES-256-GCM, for everything Tilspire stores encrypted: two-factor sign-in, AI provider keys, sign-in provider secrets, content sync, off-site backups and the database snapshot taken before an update. Without it the site works, but those features can't be switched on.
- GD with WebP support, for automatic image optimisation and WebP conversion of uploaded media. Without it, uploads still work; they simply aren't resized or converted.
What you don't need #
No Composer, no Node.js, no build tooling. Tilspire has no framework and no build step — the files you download are the files that run.
File access #
PHP needs write access to site/, which holds your configuration, the page cache and content backups, and to uploads/. The setup wizard checks both.