Skip to Content
Getting started

Requirements

What hosting or a server needs for Flute 2.0: PHP, a database, and a scheduler.

Regular hosting with PHP 8.2 and MySQL will almost certainly do. The web installer checks PHP, extensions and folder permissions on its own and, if something is missing, shows what to fix. This page is useful if you are choosing hosting in advance or setting up a server yourself.

WhatNeeded
PHP8.2 or newer
DatabaseMySQL 5.7+, MariaDB 10.2+ or PostgreSQL 10+
Schedulera job that runs php flute cron:run once a minute
ionCube Loaderfor paid modules

PHP

You need PHP 8.2 or newer. The extensions Flute cannot start without are usually already enabled on hosting. If the installer says one is missing, turn it on in the PHP settings of your hosting panel.

The database needs a driver: pdo_mysql for MySQL and MariaDB or pdo_pgsql for PostgreSQL. The installer offers only the databases whose driver is loaded.

Database

DatabaseMinimum version
MySQL5.7
MariaDB10.2
PostgreSQL10

If you are choosing now, take MySQL 8.0 or MariaDB 10.6 or newer. SQLite is not supported. The installer rejects a database older than the minimum and says which version is required.

Background tasks

The hosting scheduler (cron) must run this once a minute:

php <SITE_DIR>/flute cron:run

The installer shows the exact line with the right PHP path at the "Turn on background tasks" step. Without this job, emails and notifications are not sent, updates are not installed and time-limited purchases do not expire.

ionCube Loader

The platform encrypts paid modules with ionCube for your site's licence, so they need ionCube Loader for your PHP version. Free modules come as plain PHP and need no loader.

If the marketplace shows "N paid modules can’t be installed: ionCube Loader is missing", turn on the loader in the PHP settings of your hosting panel. If there is no such option, ask your hosting support. The Flute Docker images already have the loader.

The loader must be version 14 or newer. It does not load into FrankenPHP, so a site with paid modules needs a web server with PHP-FPM. The Flute Docker image is exactly that: nginx and PHP-FPM.

An encrypted module checks its licence with the platform itself. The answer is signed and cannot be forged on the site. If the platform is briefly unreachable, the module keeps working on the last confirmation for up to 48 hours. The site address with and without www and its subdomains count as one site.

What works where

Flute runs on ordinary hosting, your own server or Docker, and nearly everything works the same. Three things differ: how background jobs run, whether the engine updates from the admin, and whether paid modules install.

Hosting (PHP-FPM, LiteSpeed)Own server (VPS)Docker
SchedulerYes, a job in the hosting panelYes, a crontab lineYes, the cron container
Mail and job queueLimited: cron works through it, up to 25 jobs per runYes, queue:work under systemd or supervisorYes, the queue container
Engine update from the adminYes, if the host lets the site reset OPcacheYesNo: the engine updates with a new image
Paid modules (ionCube)Limited: if the host turns on ionCube LoaderYes, once ionCube Loader is installedYes, the loader is in the image

On hosting where OPcache does not check files for changes and the site may not reset it, the update center will not start and says "OPcache does not check files for changes, and the site cannot reset it". Then php flute update:core updates the engine from the console, if the host gives you SSH. Modules and themes update from the admin everywhere, Docker included. More on background jobs in Scheduler, on updates in Updates.

Docker

To install with install.sh, you need a Linux server with:

  • Docker Engine with the Docker Compose v2 plugin (the script works with the old docker-compose v1 but shows a warning);
  • openssl, which the script uses to generate passwords;
  • about 5 GB of free disk space, about 3 GB of which goes to the image build;
  • 1 GB of RAM or more. With less and no swap, the build can fail.

If there is less space or memory, the script warns you and asks whether to continue. The installation itself: Installing with Docker.

Details for your own server

On this page