Skip to content
ZenoCloud Call

Magento 2 System Requirements

Complete list of Magento 2 system requirements including PHP, MySQL, and server specifications.

First written in 2022. Things may have changed since.

A small matte navy storefront with a scalloped awning and a gold door handle, on warm paper.

Magento 2 System Requirements

Magento 2 has specific system requirements that must be met for proper installation and operation.

PHP Requirements

  • PHP 7.4 or higher (for Magento 2.4)- PHP extensions: bcmath, ctype, curl, dom, fileinfo, gd, hash, iconv, intl, json, mbstring, openssl, pcre, pdo, simplexml, soap, spl, xsl, zip- ini settings: memory_limit minimum 756MB

Database Requirements

  • MySQL 5.7 or higher
  • MariaDB 10.2 or higher
  • Percona Server

Web Server Requirements

  • Apache 2.4 or Nginx 1.x- mod_rewrite module for Apache- Server memory: minimum 2GB

Other Requirements

  • Composer 1.3.2 or higher
  • Node.js 12.x or higher (for asset compilation)
  • Redis (optional but recommended for caching)
  • Elasticsearch (for advanced search)

Disk Space

Allocate at least 2GB for Magento installation, database, and media files.

Email

Ensure your server can send emails for order notifications and customer communications.

Conclusion

Meeting these requirements ensures optimal Magento performance and stability. Always check the official Magento documentation for the latest requirements.

Next step

Run Magento on infrastructure built for it.

See Magento hosting

Related services

Browse all field notes
Quote request

What should we quote?

Your name, number and what you need. We reply within one business day.