Close [x]

System requirements

Edit this page on GitHub

Updated: 26 May 2016 (PDT)

Operating systems (Linux x86-64)

Linux distributions such as RedHat Enterprise Linux (RHEL), CentOS, Ubuntu, Debian, and so on

Composer (latest stable version)

Composer is required for developers who wish to contribute to the Magento 2 codebase or anyone who wishes to develop Magento extensions

Web servers


MySQL 5.6 (Oracle or Percona)


  • 5.6.x
  • 5.5.x, where x is 22 or greater
  • 7.0.2–7.0.6 except for 7.0.5 (supported by Magento version 2.0.1 and later only)

    There is a known PHP issue that affects our code compiler when using PHP 7.0.5. We recommend you not use PHP 7.0.5; instead, use PHP 7.0.2–7.0.4 or 7.0.6.

PHP documentation: CentOS, Ubuntu

Required PHP extensions:

PHP OPcache

We strongly recommend you verify the PHP OPcache is enabled for performance reasons. The OPcache is enabled in many PHP distributions. To verify if it is installed, see our PHP documentation for CentOS or Ubuntu.

If you must install it separately, see the PHP OPcache documentation.

PHP settings

We recommend particular PHP configuration settings, such as memory_limit, that can avoid common problems when using Magento.

For more information, see our recommendations for CentOS and Ubuntu.


  • A valid security certificate is required for HTTPS.
  • Self-signed SSL certificates are not supported.
  • PayPal: You must use libcurl version 7.34 or later for Transport Layer Security (TLS) version 1.2 support required by PayPal.

Mail server

Mail Transfer Agent (MTA) or an SMTP server

Magento can utilize the following technologies:

  • Redis version 3.0 for page caching and session storage (the latter supported by Magento version 2.0.6 and later only)
  • Varnish version 3.5 or latest stable 4.x version for page caching
  • memcached latest stable version for session storage with either memcache or memcached PHP extensions (latest stable version)

  • Magento Enterprise Edition (EE) only

    • Apache Solr 4.x

      Solr search can be used as a search provider. Available for Magento Enterprise Edition (EE) only.

    • RabbitMQ 3.5

      RabbitMQ can be used to publish messages to queue and to define the consumers that receive the messages asynchronously. Available for Magento EE only.

    • Three master databases

      These master databases provide scalability advantages for different functional areas of the Magento application: checkout, orders, and product data. Available for Magento EE only.

  • php_xdebug2.2.0 or later (development environments only; can have an adverse effect on performance)

There is a known issue with xdebug that can affect Magento installations or access to the storefront or Magento Admin after installation.

For details, see Known issue with xdebug.

  • PHPUnit (as a command-line tool) 4.1 or later


Install Magento prerequisites