Skip to content
← All solutions
Magento logo

E-commerce solution

Run Magento Locally with FlyEnv

Magento projects typically combine PHP, a database, search, cache, and a web server. FlyEnv helps manage that version-sensitive local stack around the Magento project.

Local project stack

Services FlyEnv can manage around Magento

  • PHP
  • Composer
  • MySQL / MariaDB
  • OpenSearch / Elasticsearch
  • Redis
  • Nginx / Apache

About Magento

Magento Open Source is an open-source e-commerce platform for online stores and commerce applications.

Project resources

For installation commands, supported versions, and project-specific configuration, refer to the official Magento 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
  • Composer
  • MySQL / MariaDB
  • OpenSearch / Elasticsearch
  • Redis
  • Nginx / Apache
ComponentTypical role
PHPRuns the Magento application.
ComposerInstalls Magento and PHP dependencies.
MySQL / MariaDBStores store and catalog data.
OpenSearch / ElasticsearchSupports catalog search depending on the Magento release.
RedisMay support cache and sessions.
Nginx / ApacheServes the local store.

How FlyEnv helps

  • Match versioned PHP support

    Keep the PHP runtime aligned with the Magento release.

  • Run the store database

    Manage MySQL or MariaDB next to the application.

  • Coordinate search services

    Use the search service supported by the specific Magento release.

  • Keep cache close by

    Start Redis with the project when the configuration uses 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 official Magento documentation for version-specific installation and requirements.
  2. 2Select the PHP version required by the Magento release.
  3. 3Start MySQL or MariaDB for the store data.
  4. 4Configure the supported search service and Redis when the project needs them.
  5. 5Add the project to FlyEnv with a local domain, web server, and HTTPS.
  6. 6Save the multi-service environment as a Startup Group when useful.

Ready to run Magento locally?

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

Download FlyEnv

Have questions using FlyEnv?