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.
| What | Needed |
|---|---|
| PHP | 8.2 or newer |
| Database | MySQL 5.7+, MariaDB 10.2+ or PostgreSQL 10+ |
| Scheduler | a job that runs php flute cron:run once a minute |
| ionCube Loader | for 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.
bcmath, ctype, curl, fileinfo, filter, gd, gmp, iconv, intl, json, mbstring, openssl, pdo, sodium, tokenizer, xml, zip.
Database
| Database | Minimum version |
|---|---|
| MySQL | 5.7 |
| MariaDB | 10.2 |
| PostgreSQL | 10 |
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:runThe 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 | |
|---|---|---|---|
| Scheduler | Yes, a job in the hosting panel | Yes, a crontab line | Yes, the cron container |
| Mail and job queue | Limited: cron works through it, up to 25 jobs per run | Yes, queue:work under systemd or supervisor | Yes, the queue container |
| Engine update from the admin | Yes, if the host lets the site reset OPcache | Yes | No: the engine updates with a new image |
| Paid modules (ionCube) | Limited: if the host turns on ionCube Loader | Yes, once ionCube Loader is installed | Yes, 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-composev1 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
The user PHP runs as must be able to write to these folders inside the site directory:
storage
storage/logs
storage/app/cache
storage/app/scheduler
storage/backup
public/assets/uploads
config
i18n
app/ModulesIt is best to point the site root at the public/ folder. If the root points at the site folder itself, Flute opens a setup page with ready-made configs for nginx and Caddy.
Apache and hosting with .htaccess also work with the root at the site folder: the .htaccess from the archive sends requests to public/ on its own. If the server reads neither .htaccess nor its own config, you can turn on a "bridge" on the same setup page: the root index.php then serves files from public/ and blocks access to the internal folders.
OPcache, Redis for cache and sessions, response compression and HTTP/2. None of it is required. After installation, the "About system" section of the admin panel checks the server and tells you what to turn on and which lines to add to the config.