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

About Magento

Magento Open Source is a PHP commerce platform for stores with complex catalogs, pricing, promotions, customer groups, checkout behavior, and multiple storefronts. Its modular architecture makes extension and integration work a core part of implementation.

Magento local development is notably more involved than a basic PHP site. Composer dependencies, MySQL, search indexing, Redis-backed cache or sessions, cron, queue consumers, generated code, and static content can all be active depending on the project configuration.

Core capabilities

  • Catalog & Inventory
  • Multi-store
  • Promotions
  • Checkout
  • Search Indexing
  • Extension Modules

Common use cases

  • Multi-store retail operations
  • B2B catalogs and customer pricing
  • Large product catalogs
  • Commerce integrations with ERP or PIM systems
  • Custom checkout and extension development

Magento development coordinates a commerce stack

A simple catalog may not enable every service, but realistic Magento work often requires several processes to expose indexing, cache, and asynchronous behavior.

PHP, Composer, and generated code
Magento uses Composer packages and generated classes; CLI commands manage compilation and setup changes.
MySQL or MariaDB
Stores catalog, customer, sales, configuration, and index-related data.
OpenSearch or Elasticsearch
Required by supported Magento versions for catalog search and indexing; use the engine required by the project release.
Redis, cron, and consumers when enabled
Redis commonly supports cache or sessions, while cron and message-queue consumers are needed only for features configured to use them.
Static-content tooling
Node.js tooling is optional, but Magento static-content deployment and theme assets must be rebuilt when the project workflow requires it.

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.

ComponentTypical role
PHPRuns the Magento application.
ComposerInstalls Magento and PHP dependencies.
MySQLMariaDBStores store and catalog data.
OpenSearchElasticsearchSupports catalog search depending on the Magento release.
RedisMay support cache and sessions.
NginxApacheServes 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?