magento 2 design guide

Magento 2 System Requirements

by Sharon James

Magento 2 requirements

Magento 2 includes a wide range of enhancements such as a user-friendly design, efficient performance, streamlined purchases and bug fixes. We would highly recommend that you make sure that your Magento installation is up to date so that you can utilize the benefits of the latest enhancements. The system requirements will come with the necessary software to run the Magento application, supported web browsers, and all the necessary requirements needed to connect with the Magento software repository and Paypal in a secure manner.

Magento 2 system requirements

Operating System Requirements

Numerous Linux distributors such as Ubuntu, CentOS, Debian or RedHat Enterprise Linux are pretty easy to install with Magento 2 and work well.

Memory Requirement

You will need up to 2GB RAM to update Magento to the latest version. Create a swap file if you use a system that has less than 2GB RAM in order to avoid failure during the update process.

Magento 2 Composer Requirement

You will need the latest stable version of composer for the Magento 2 extension development. An update composer is an important requirement.

Magento 2 Web Service Requirements

  • Apache 2.2 or 2.4
  • Nginx 1.8

Also, in order for the server to perform URL rewriting, the Apache mod_rewrite module should be enabled.

Magento 2 Database Requirements

Magento 2.0.x MySQL 5.6
Magento 2.1.x MySQL 5.6
Magento 2.2.x MySQL 5.6, 5.7
Magento 2.3.x MySQL 5.6, 5.7

Some of the other databases that are compatible with Magento are MySQL NDB Cluster 7.4.*, Percona 5.7, MariaDB 10.0, 10.1, 10.2 and any other binary-compatible MySQL technologies.

Hire Magento Developer

Magento 2 PHP Requirements

  • 5.6.x
  • 5.5.x, for x>=22
  • 7.0.2 to 7.1.0, except for 7.0.5
  • 7.1.3+  7.2.x (for Magento 2.3.0)

As you can see, for Magento 2, only PHP 7.1 is supported

Required PHP extensions

  • curl;
  • gd, ImageMagick > 6.3.7;
  • intl;
  • mbstring;
  • mcrypt;
  • mhash;
  • openssl;
  • PDO/MySQL;
  • SimpleXML;
  • soap;
  • xml;
  • xsl;
  • zip;
  • json (PHP 7 only);
  • iconv (PHP 7 only);

Additional PHP extensions for Magento 2.2.x

  • ctype
  • dom
  • spl
  • libxml

Additional PHP extensions for Magento 2.2.x

  • bc-math (Magento Commerce only)
  • hash
  • azip

PHP extensions for Magento 2.3

  • bc-math (Magento Commerce only)
  • hash
  • azip

PHP OPcache

You must enable PHP OPcache for performance reasons. For optimum performance, it is important that you verify the PHP.

PHP Settings

There are important PHP Settings such as memory limit that will need to be tweaked in order to avoid common problems while using Magento 2.

Magento 2 SSL Requirements

  • A Security certificate for HTTPS
  • Transport Layer Security (TLS) requirement

Note: Self-signed SSL certificates are not supported.

Magento 2 Mail Server

  • Mail Transfer Agent (MTA)
  • SMTP server

Technologies Magento can use

  • Redis version 3.2 (compatible with 2.4+ ) for page caching and session storage
  • Varnish version 4.x or 5.2
  • RabbitMQ 3.7.x (compatible with 2.0 and later)
  • Elasticsearch 5.2.x

Magento 2 Browsers Support

  • Apple Safari 5 and better
  • Apple Safari Mobile
  • IE 9 and better
  • Mozilla Firefox
  • Chrome
  • Opera

Magento Commerce only

Total of three master databases.

Enjoy scalability benefits for various functional areas of the Magento app such as checkout, orders and all other remaining Magento 2 app tables with the master database.

Optional

  • php_xdebug 2.5.x or later (development environments only; can have an adverse effect on performance)
  • mcrypt
  • PHPUnit (as a command-line tool) 6.2.0

And you are done! Fulfil all the above Magento 2 system requirements and you will be on your way to increase your E-Commerce store’s performance by upgrading to Magento 2.

Furthermore, for the Magento 2 Enterprise version, this is what you will need:

  • PHP extension: bc-math;
  • Apache Solr 4.x;
  • RabbitMQ 3.5;
  • MySQL 5.6, MariaDB, Percona;

We hope that this guide covered all the Magento 2.0 requirements. We strongly recommend all users to upgrade to Magento 2 as it has a wide range of benefits for all E-Commerce store owners. Furthermore, it will also provide you with a higher level of security.