Skip to content
← All solutions
Matomo logo

Data & Analytics solution

Run Matomo Locally with FlyEnv

Matomo commonly uses PHP, a MySQL-compatible database, and a web server for local analytics development. FlyEnv manages those local services around the Matomo project.

Local project stack

Services FlyEnv can manage around Matomo

  • PHP
  • MySQL / MariaDB
  • Nginx / Apache / Caddy
  • Redis

About Matomo

Matomo is an open-source web analytics platform focused on data ownership.

Project resources

For installation commands, supported versions, and project-specific configuration, refer to the official Matomo documentation.

Typical local stack

The exact services depend on the project, its release, and its local configuration. This is a common local setup, not a fixed requirement.

  • PHP
  • MySQL / MariaDB
  • Nginx / Apache / Caddy
  • Redis
ComponentTypical role
PHPRuns the Matomo application.
MySQL / MariaDBStores analytics configuration and data.
Nginx / Apache / CaddyServes the local analytics site.
RedisMay support project-specific cache integrations.

How FlyEnv helps

  • Select the PHP runtime

    Match the runtime to the Matomo release.

  • Run analytics storage locally

    Manage MySQL or MariaDB beside the application.

  • Configure a local analytics URL

    Use a local domain and HTTPS for browser-based testing.

  • Add optional services only when used

    Keep Redis available for installations that configure it.

Set up the local environment

Project installation stays with the upstream documentation. FlyEnv manages the runtimes, databases, web servers, and supporting services around it.

  1. 1Use the Matomo documentation for installation and current requirements.
  2. 2Select the PHP version supported by the Matomo release.
  3. 3Start MySQL or MariaDB for the analytics database.
  4. 4Start Redis only when the selected installation uses it.
  5. 5Configure a local domain, web server, and HTTPS in FlyEnv.
  6. 6Keep the project services in a Startup Group when useful.

Ready to run Matomo locally?

Use FlyEnv to manage the runtimes, databases, web servers, and services around your local Matomo environment.

Download FlyEnv

Have questions using FlyEnv?