Since Magento 2 was released, it introduced the user-friendly interface, flexibility, advanced functionalities and enhanced security for the E-commerce websites. Magento 2 versions have all you need to grow your business even faster and control the store in a better way.
To avail all the benefits, install Magento 2 right away and grow your business! Here’s the first step towards installing Magento 2 and the minimum system requirements for installing Magento 2 to move from the older Magento versions! Magento 2 System Requirements include required OS, memory requirements, supported browsers, additional tools to install and other required settings.
Magento 2 System Requirements
Operating Systems Requirements
Linux distributors such as CentOS, Ubuntu, Debian or RedHat Enterprise Linux are easy to install Magento 2. However, Windows OS and Mac OS does not support Magento 2.
Memory Requirement
One will need up to 2GB RAM to update Magento. Create a swap file if you use a system with less than 2 GB of RAM to avoid failure in the update process.
Magento 2 Composer Requirements
You need the latest stable version of composer for Magento 2 extension development!
Magento 2.4 does not support Composer 2.x
Magento 2 Web Service Requirements
- Apache 2.4
- Nginx 1.x
Magento 2 Database Requirements
Magento 2.0.x | MySQL 5.6 |
Magento 2.1.x | MySQL 5.6 (For Magento 2.1.2 and higher, use MySQL 5.7) |
Magento 2.2.x | MySQL 5.6, 5.7 |
Magento 2.3.x | MySQL 5.6, 5.7 |
Magento 2.4 | MySQL 8.0 MariaDB 10.4 for Magento Commerce Cloud projects |
Other databases compatible with Magento: MySQL NDB Cluster 7.4.*, Percona 5.7, MariaDB 10.0, 10.1, 10.2 and other binary-compatible MySQL technologies.
Magento 2 PHP Requirements
- ~7.2.0
- ~7.3.0 (For Magento 2.3)
- 7.4.0 (For Magento 2.4)
Required PHP extensions:
- ext-bcmath
- ext-ctype
- ext-curl
- ext-dom
- ext-gd
- ext-hash
- ext-iconv
- ext-intl
- ext-mbstring
- ext-openssl
- ext-pdo_mysql
- ext-simplexml
- ext-soap
- ext-xsl
- ext-zip
- lib-libxml
- ext-sockets (for Magento 2.4)
PHP OPcache
Enable PHP OPcache for the performance reasons.
PHP Settings
Important PHP settings such as memory_limit must be configured to avoid common problems while using Magento 2.3.
Elasticsearch
It is compulsory to use Elasticsearch in Magento 2.4 for search.
Magento no longer supports Elasticsearch 2.x, 5.x, and 6.x. Elasticsearch 7.6.x. is the recommended version.
Magento 2 SSL Requirements
- A Security certificate for HTTPS.
- Transport Layer Security (TLS) requirement
Note: Self-signed SSL certificates are not supported.
Required system dependencies
- bash
- gzip
- lsof
- mysql
- mysqldump
- nice
- php
- sed
- tar
Magento 2 Mail Server
- Mail Transfer Agent (MTA)
- SMTP server
Technologies Magento can use:
- Redis version 3.2, 4.0, 5.0 (compatible with 2.4+ ) for page caching and session storage
- Varnish version 6.x
- RabbitMQ 3.8.x (compatible with 2.0 and later)
- Elasticsearch 6.8 (Magento 2.3)
- Elastic Search 7.x.x
Magento 2 Browsers Support
- IE 11 or later (Till Magento 2.3)
- Microsoft Edge latest and the previous version
- Firefox latest and the previous version
- Safari and the previous version (for Mac OS)
- Safari Mobile
- Chrome latest and the previous version
Magento Commerce only (For Magento 2.3.0)
- Three master databases
Enjoy scalability advantages for different functional areas of the Magento application such as checkout, orders, and all remaining Magento 2 application tables with these master database.
Optional (For Magento 2.3.0)
- 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
This is it!
Fulfil the above Magento 2 System Requirements and make your E-commerce store a better platform by upgrading to Magento 2!
Upgrade to Magento 2 and enjoy all the new features that it has to offer ????
Additionally, for Magento 2 Enterprise version, you will need:
- PHP extension: bc-math;
- Apache Solr 4.x;
- RabbitMQ 3.5;
- MySQL 5.6, MariaDB, Percona.