Magento 2.x System Requirements — The Ideal Server Configuration [2024]
Since Magento 2 was released, it introduced a user-friendly interface, flexibility, advanced functionalities, and enhanced security for 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 of all the benefits, install the latest 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 x86-64)
Linux distributions, such as RedHat Enterprise Linux (RHEL), CentOS, Ubuntu, Debian, and similar. Magento is not supported on Microsoft Windows and macOS.
RAM 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!
Magento 2 Web Service Requirements
- Apache 2.4
- Nginx 1.18
Database Requirements for Different Magento Versions |
|
---|---|
Magento Version | Database Requirement |
Magento 2.4.x | MySQL 8.0 MariaDB 10.6 |
Magento 2.3.x | MySQL 5.6, 5.7 |
Magento 2.2.x | MySQL 5.6, 5.7 |
Magento 2.1.x | MySQL 5.6 (For Magento 2.1.2 and higher, use MySQL 5.7) |
Magento 2.0.x | MySQL 5.6 |
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
- 8.1.x (For Magento 2.4.x)
- 7.4.x, 7.3.x (For Magento 2.3.x)
- ~7.2.x
Required PHP extensions
- ext-bcmath
- ext-ctype
- ext-curl
- ext-dom
- ext-fileinfo
- ext-filter
- ext-gd
- ext-hash
- ext-iconv
- ext-intl
- ext-json
- ext-libxml
- ext-mbstring
- ext-openssl
- ext-pcre
- ext-pdo_mysql
- ext-simplexml
- ext-soap
- ext-sockets
- ext-sodium
- ext-tokenizer
- ext-xmlwriter
- ext-xsl
- ext-zip
- ext-zlib
- lib-libxml
PHP OPcache
Enable PHP OPcache for performance reasons.
PHP Settings
Important PHP settings such as memory_limit must be configured to avoid common problems while using Magento 2.4.
Elasticsearch
It is mandatory to use Elasticsearch in Magento 2.4.x for search.
Magento no longer supports Elasticsearch 2.x, 5.x, and 6.x. Elasticsearch 7.17.x. is the recommended version.
Magento 2 SSL Requirements
- A Security certificate for HTTPS.
- Self-signed SSL certificates are not supported.
- Transport Layer Security (TLS) requirement – PayPal and
repo.magento.com
both require TLS 1.2 or later.
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 6.2
- Varnish version 7.1
- RabbitMQ 3.9.x
- Elasticsearch 7.17 (Magento 2.4.5 and lesser)
- Elastic Search .84
Magento 2 Browsers Support
- Microsoft Edge (latest and previous major version)
- Firefox (latest and previous major version; any operating system)
- Chrome (latest and previous major version; any operating system)
- Safari (latest and previous major version; macOS only)
- Safari Mobile for iPad 2, iPad Mini, iPad with Retina Display (iOS 12 or later), for desktop storefront
- Safari Mobile for iPhone 6 or later; iOS 12 or later, for mobile storefront
- Chrome for mobile (latest and previous major version [Android 4 or later] for mobile storefront)
This is it!
Also Read: Install Magento 2 on Ubuntu
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 🙂
I hope you got everything you were looking for to move to Magento 2. It is highly recommended that you use the latest Magento 2 version for your E-commerce store as it is beneficial for business as well as provides enhanced security.
I would be pleased to solve any further doubts or help you at any time. Give me a holler whenever you are stuck with a query. And yes, rate the article with 5 stars if you find it useful.
Facing issues with your Magento store or want to add new features? Our Magento Development Services are here to help!
Sanjay Jethva
Sanjay is the co-founder and CTO of Meetanshi with hands-on expertise with Magento since 2011. He specializes in complex development, integrations, extensions, and customizations. Sanjay is one the top 50 contributor to the Magento community and is recognized by Adobe.
His passion for Magento 2 and Shopify solutions has made him a trusted source for businesses seeking to optimize their online stores. He loves sharing technical solutions related to Magento 2 & Shopify.
5 Comments
Do we need SSL for the localhost setup too for Magento 2.4.1?
Hello,
No, SSL is not required for Magento 2.4.1.
Thank You.
Good Job, Your article is very interesting, thank you.
Stunning, Fantastic its looks so astounding. Much obliged to you for sharing this article and keep doing awesome.
Thank you!