Requirements
Kirby has a couple system requirements to work properly
Web servers
Apache works out of the box. For nginx and Caddy, see our config examples. DDEV works with our Cookbook recipe. Other servers can be used by advanced users.
If you want to use PHP's built-in server, you have to start it up with Kirby's router:
php -S localhost:8000 kirby/router.php
Server requirements
- The server must support URL rewriting
- The server OS must be POSIX compatible.
PHP Versions
- PHP 8.6
- PHP 8.5
- PHP 8.4 (recommended)
- PHP 8.3
You can temporarily disable the PHP version check by defining KIRBY_PHP_VERSION_CHECK to false in your index.php. This is risky and not recommended in production as PHP releases can include breaking changes with security impact.
define('KIRBY_PHP_VERSION_CHECK', false);
PHP Extensions
Required Extensions
- Either the
gdor theimagickextension (see below) ctypecurldomfilterhashiconvjsonlibxmlmbstringopensslSimpleXML
When you install the Panel, Kirby checks that all required extensions are available. If one is missing, the installation view lists it and you cannot create the first account. On a public server, the system view in the Panel shows a warning if a required extension goes missing later.
Recommended Extensions
- PHP
exifextension for support for EXIF information from images - PHP
fileinfoextension for improved MIME type detection for files - PHP
intlextension for theintldate handler (support for international dates) and localized number formatting - PHP
sodiumextension for more robust session handling and theSymmetricCryptoclass
Optional Extensions
- PHP
imagickextension for theimagickthumbs driver - ImageMagick (
convertbinary) if you want to use the deprecatedimthumbs driver. Note that the PHPexec()method must be enabled on your server in this case as well. - PHP
apcuextension for the Apcu cache driver - PHP
memcachedextension for the Memcached cache driver - PHP
redisextension for the Redis cache driver - PHP
PDOextension for connecting to databases - PHP
zipextension for ZIP archive file functions - PHP
zlibextension for sanitization and validation of.svgzfiles
Browsers for the Panel
Kirby does not modify the output of your site's templates and thus has no effect on the browser requirements for your site's frontend. However, the Panel is built on modern browser features and has a couple browser requirements which need to be met by your site's editors.
| Desktop | Mobile |
|---|---|
|
|
The Panel follows Baseline "widely available": it only relies on web platform features that have been available in all major browsers for at least 30 months. Editors with an older browser see a page that names the browser versions the Panel needs.
PHP Version Support History
| Kirby | PHP 8.6 | PHP 8.5 | PHP 8.4 | PHP 8.3 | PHP 8.2 | PHP 8.1 | PHP 8.0 | PHP 7.4 | PHP 7.3 | PHP 7.2 | PHP 7.1 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| ^6.0.0 | ✅ | ✅ | ✅ | ✅ | |||||||
| ^5.2.1 | ✅ | ✅ | ✅ | ✅ | |||||||
| ^5.0.0 | ✅ | ✅ | ✅ | ||||||||
| ^4.6.0 | ✅ | ✅ | ✅ | ✅ | |||||||
| ^4.0.0 | ✅ | ✅ | ✅ | ||||||||
| ^3.10.0 | ✅ | ✅ | ✅ | ||||||||
| ^3.9.0 | ✅ | ✅ | ✅ | ||||||||
| ^3.8.0 | ✅ | ✅ | |||||||||
| ^3.6.1 | ✅ | ✅ | ✅ | ||||||||
| ^3.6.0 | ✅ | ✅ | |||||||||
| ^3.5.0 | ✅ | ✅ | ✅ | ||||||||
| ^3.4.0 | ✅ | ✅ | ✅ | ||||||||
| ^3.3.2 | ✅ | ✅ | ✅ | ✅ | |||||||
| ^3.0.0 | ✅ | ✅ | ✅ |