Skip to main content

Get Started

System Requirements

Complete technical requirements for Mage-OS including PHP versions, database specifications, and server configuration.

This guide outlines the technical requirements for running Mage-OS in development and production environments. Verify your server meets these specifications before beginning installation.

Quick Reference (Mage-OS 2.0)

ComponentMinimumRecommended
PHP8.38.4
Composer2.72.9
OpenSearch2.52.19
MariaDB10.611.4
MySQL8.08.4
RabbitMQ3.124.0
Redis / ValkeyRedis 7.0 / Valkey 7Valkey 8 (or Redis 7.2+)
Varnish7.x7.6
Apache2.42.4 (latest)
nginx1.241.26

Minimum versions are the oldest supported. Recommended versions provide optimal performance and security.


Operating System

Production (Linux Only)

DistributionMinimum VersionNotes
Ubuntu LTS22.04Recommended for most deployments
Debian12Stable alternative
Rocky Linux9RHEL-compatible, enterprise environments
AlmaLinux9RHEL-compatible, enterprise environments

Development

  • macOS: 13+ (Ventura or later)
  • Windows: Windows 10/11 via WSL2

Production deployments require Linux. macOS and Windows are suitable for local development only.


Web Server

Apache

RequirementValue
Version2.4+
Required modulesmod_rewrite
Configuration.htaccess support enabled

nginx

RequirementValue
Version1.24+ (1.26 recommended)
ConfigurationCustom rewrite rules required

Choose one web server. nginx generally offers better performance at scale, while Apache provides easier configuration via .htaccess files.


PHP Requirements

Supported Versions

VersionStatus
PHP 8.4Recommended (latest features)
PHP 8.3Supported (proven stability)

Required Extensions

bcmath, ctype, curl, dom, fileinfo, gd, hash, iconv, intl,
json, libxml, mbstring, openssl, pcre, pdo_mysql, simplexml,
soap, sockets, sodium, xml, xsl, zip, zlib

Verify extensions with: php -m | grep -i <extension_name>


Database

Supported Databases

DatabaseMinimum VersionRecommendedNotes
MySQL8.08.4Oracle’s official distribution
MariaDB10.611.4Popular MySQL alternative
Percona8.08.0Enterprise MySQL variant

Choose one database server. MariaDB and MySQL are the most common choices for Mage-OS deployments.

Database Settings

Recommended my.cnf or my.ini configuration:

[mysqld]
# Buffer pool: Set to 50-70% of available RAM for dedicated DB servers
innodb_buffer_pool_size = 1G

# Log file size: Larger values improve write performance
innodb_log_file_size = 256M

# Packet size: Required for large imports
max_allowed_packet = 64M

# Temp tables: Prevents disk-based temp tables for most queries
tmp_table_size = 64M
max_heap_table_size = 64M

# Connection settings
max_connections = 150
wait_timeout = 28800

For production servers with 8GB+ RAM, increase innodb_buffer_pool_size to 4G or higher.


Search Engine

A search engine is required for Mage-OS. It powers catalog search, layered navigation, and admin grids.

Supported Search Engines

EngineMinimum VersionRecommendedNotes
OpenSearch2.52.19Recommended (open source, active)
Elasticsearch7.178.xRequires license for some features

OpenSearch is recommended for new installations as it is fully open source and actively maintained by the community.

Memory Requirements

EnvironmentHeap SizeNotes
Development1GBSuitable for small catalogs
Staging2GBMirrors production
Production4GB+Scale based on catalog size

Set heap size via ES_JAVA_OPTS or OPENSEARCH_JAVA_OPTS:

export OPENSEARCH_JAVA_OPTS="-Xms4g -Xmx4g"

Cache and Sessions

Redis or Valkey provides high-performance caching for sessions, page cache, and the application cache backend.

SoftwareMinimum VersionRecommendedNotes
Valkey7.08.0Open source Redis fork
Redis7.07.2+Industry standard

Valkey is recommended for new installations as an open source Redis alternative.

Varnish (Production)

Varnish is a full-page cache that dramatically improves frontend performance. While optional for development, it is recommended for production.

VersionStatusNotes
7.6RecommendedLatest stable
7.xSupportedAll 7.x versions work

Message Queue

RabbitMQ (Optional)

RabbitMQ enables asynchronous processing of bulk operations, inventory updates, and order processing. It is optional for small stores but recommended for high-traffic sites.

VersionStatusNotes
4.0RecommendedLatest stable
3.12+SupportedMinimum supported version

Composer

Composer is required for installing and updating Mage-OS.

RequirementValue
Version2.7+ (2.8 recommended)
PHP memory1GB+ available during installation
Disk space500MB+ for cache

Verify your version with: composer --version


Disk Space

PurposeMinimumRecommendedNotes
Application5GB10GBIncludes vendor directory
Database10GB50GB+Scales with catalog and orders
Media filesVariesVariesProduct images, PDFs, downloads
Logs5GB10GBRotate logs to manage disk usage
Total Server30GB80GB+SSD storage recommended

Use SSD storage for optimal performance. NVMe drives provide the best results for database and search engine workloads.


Server Hardware

Minimum Requirements

ResourceDevelopmentProduction (Small)Production (Large)
CPU2 cores4 cores8+ cores
RAM4GB8GB16GB+
Storage30GB SSD50GB SSD100GB+ NVMe

These are baseline requirements. Actual needs depend on catalog size, traffic volume, and customizations.


Compatibility Matrix

Mage-OS VersionPHPMySQLOpenSearchMagento BaseRelease Date
2.08.3-8.48.0+2.5+2.4.8-p3October 2025
1.38.2-8.38.0+2.5+2.4.7-p3August 2025
1.28.2-8.38.0+2.5+2.4.7-p2June 2025
1.18.1-8.28.0+2.5+2.4.6-p4April 2025
@TODO: Those base versions aren’t right
For the latest version information, see the Releases page.

Managed Magento Hosting

These providers offer pre-configured environments optimized for Mage-OS and Magento:

ProviderTypeNotes
HypernodeManaged Magento hostingPurpose-built for Magento/Mage-OS
NexcessManaged Magento hostingAuto-scaling, managed infrastructure
CloudwaysManaged cloud platformMultiple cloud backends available

@TODO: Cover, or not? Providers vary greatly by region, quality, price

Cloud Providers (Self-Managed)

For teams with DevOps expertise, these cloud providers offer flexible infrastructure:

ProviderRecommended InstancevCPUsRAMNotes
AWS EC2t3.large or larger2+8GB+Most popular choice
Google Cloudn2-standard-2 or larger2+8GB+Strong global network
AzureStandard_D2s_v32+8GB+Enterprise integration
DigitalOceanPremium Droplets 4GB+2+4GB+Cost-effective option
HetznerCPX31 or larger4+8GB+European data centers

Development Environments

Docker-based local development environments provide consistent, reproducible setups:

ToolDescriptionBest For
DDEVDocker-based local developmentBeginners, quick setup
WardenDocker environment for MagentoMagento-specific workflows
docker-magentoProduction-like Docker setupAdvanced local development

All tools support Mage-OS out of the box with minimal configuration.


Next Steps

Ready to install Mage-OS? Follow these guides:

Our Partners

Become a Partner