With a big catalog of 224+ extensions for your online store
Magento 2 System Requirements-2024 Updated
Since Magento 2 was released with a more friendly interface, better performance, and more security, online store owners intend to alter store basement system to Magento 2. The question is how to take all advantages of Magento 2? This post will inform entire Magento 2 System Requirements for you to follow and get the most effective Magento system for your store. In case your Magento store still does not run as well as what you have expected, do not hesitate to install additional extensions.
Magento 2 System Requirements
Here is a go-to short list for you to check. Don’t hesitate to scroll down the next part for more details:
Web services Requirements
- Apache 2.2 or 2.4
- Nginx 1.x
Hardware Requirements
The performance and scalability of your Magento store largely rely on the hardware specifications of your hosting setup. Here are some hardware recommendations for Magento 2.
- CPU: 4 cores (2 GHz or more each core)
- RAM: >= 8GB
- PHP memory: 2G
- Storage: >= 240 GB SSD
Database Engine Requirements
- MySQL 5.6, 5.7
- MariaDB 5.6, 5.7
- Percona
PHP Requirements
>= 7.1.3
>= 7.2.0
PHP Extensions Requirements
- bcmath
- ctype
- curl
- dom
- gd
- hash
- iconv
- intl
- mbstring
- openssl
- pdo_mysql
- simplexml
- soap
- spl
- xsl
- zip
- libxml (lib)
- json (PHP 7 only);
- iconv (PHP 7 only).
Cache System Requirements
- PHP OPcache (Recommend)
- Redis
- Vanish
- mem-cached
Email Services Requirements
- Mail Transfer Agent (MTA)
- SMTP server
SSL Requirements
- A valid security certificate is required for HTTPS.
- Self-signed SSL certificates are not supported.
- Transport Layer Security (TLS) requirement
Magento 2 Enterprise Requirements
- PHP extension: bc-math
- Apache Solr 4.x
- RabbitMQ 3.5
- Three master databases
Supported Browsers in Magento
Below are the browsers that Magento supports:
- Microsoft Edge: The latest version + previous major versions
- Firefox: All versions
- Chrome: All versions
- Safari: Latest Safari version (only support on macOS)
- Safari Mobile for iPad: Magento supports Safari mobile for: iPad 2, iPad Mini, and iPad with Retina Display, requiring iOS 12 or later
- Safari Mobile for iPhone: Work with iPhone 6 or later and also require iOS 12 or later
- Chrome for mobile: Compatible with the latest version of Chrome for Android 4 or later
Magento 2 System Feature Details
In the above section, you can see the general lists of system requirements. Now let’s take a closer look at each one:
Web Services
Magento 2 supports the reverse proxy servers below. This makes sure that the server you are using matches with this precondition or has been upgraded with the latest mainline version.
- Apache 2.2 or 2.4
- Nginx 1.8
Database Engine
MySQL is a popular open-source database for web applications. Magento 2 is not an exception as requiring MySQL 5.6 for database structure. Moreover, because of supporting MySQL 5.6 APIs, MariaDB and Percona are also adaptable with Magento 2.
PHP
Here is the list of PHP versions which are accepted in Magento 2. For PHP 7, notice that there is a known PHP 7.0.5 issue that affects Magento 2 code compiler. Therefore, you may do not want to use PHP 7.0.5 to avoid the issue.
- 5.6.x
- 5.5.x, where x is 22 or greater
- 7.0.2 up to 7.1.0, except for 7.0.5.
PHP extensions requirements
Before integrating an extension, you had better check the availability of PHP extensions requirements below for the most efficient operation.
- curl
- gd, ImageMagick 6.3.7 or later
- intl
- mbstring
- mcrypt
- mhash
- openssl
- PDO/MySQL
- SimpleXML
- soap
- xml
- xsl
- zip
- json (PHP 7 only)
- iconv (PHP 7 only)
Cache system
Although it is claimed that Magento 2 is much faster than Magento 1, there are still complaints from users that Magento 2 is unbearably slow. Hence, we recommend you to enable and use one of the cache management tools in the following:
- PHP OPcache - is a bytecode cache engine which stores precompiled script bytecode in shared memory, thereby removing the need for PHP to load and parse scripts on each request.
- Redis (Recommend) - is an open source which plays a role as cache and session backend for Magento system once being installed. The most powerful feature of Redis is supporting on-disk save and master/slave replication.
- Vanish (Recommend) - is a caching HTTP reverse proxy which appears to be an ordinary server to users and stores files or fragments of files in memory that are used to reduce the response time and network bandwidth consumption on future, equivalent requests.
- Mem-cached (Recommend) - is a distributed memory object caching system which is used as a fast backend cache to improve the speed considerably. Mem-cached can be built in the Magento system.
Email services
To send and receive an email in Magento 2, you need to configure MTA or SMTP server.
- Mail Transfer Agent (MTA) is a software that transfers emails by using a client–server application architecture. The transmission details are specified by the Simple Mail Transfer Protocol (SMTP).
- SMTP server can be configured inside Magento system to send and receive email.
SSL
SSL is a familiar technical term for internet users which is short of Secure Sockets Layer. It can be simply understood as a security layer between a web server and your browser. In fact, SSL authorizes an encrypted link to hold all data passed between the web server and browsers and remain it private and integral. SSL is used by thousands of websites to protect the transaction of the customers. Below is some strict requirement of Magento 2 to establish SSL for your store.
- A valid security certificate is required for HTTPS.
- Self-signed SSL certificates are not supported.
- Transport Layer Security (TLS) requirement.
Magento 2 Enterprise Requirements
Below are some necessities you need to integrate and check for availability before adapting Magento 2 Enterprise version:
- PHP extension: bc-math
- Apache Solr 4.x
- RabbitMQ 3.5
- 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.
PHPUnit (Optional)
Actually, it is important to use unit testing during development to find bugs or detect regressions. In Magento 2, you can use PHPUnit to check the thin and vulnerable places in your code, and spare time for bug tracking and testing. According to Magento 2 requirement of PHP, we recommend you to download the PHPUnit 5.5 version which is the current stable release series.
Magento 2.4.7 System Requirements
The latest Magento version is Magento 2.4.7. To upgrade the web application software that runs your online store, you need to meet the following requirements:
- Web services requirements: Apache 2.4 or Nginx 1.x
- Database engine requirements: MySQL 8.0, MariaDB 10.6 or Percona
- PHP requirements: 8.2 and 8.3
-
PHP extensions requirements:
- bcmath
- bz2
- calendar
- exif
- gd
- gettext
- intl
- libxml
- mysqli
- opcache
- pcntl
- pdo_mysql
- Reflection
- soap
- sockets
- SPL
- standard
- swoole
- sysvmsg
- sysvsem
- sysvshm
- zip
- Zlib
-
Cache system requirements
- PHP OPcache (Recommend)
- Redis 7.2
- Vanish 7.4.x, 7.2.x, and 6.0.x
-
Email services requirements
- Mail Transfer Agent (MTA)
- SMTP server
-
SSL requirements
- A valid security certificate is required for HTTPS
- Self-signed SSL certificates are not supported
- Transport Layer Security (TLS) requirement
-
Magento 2 Enterprise requirements
- PHP extension: bc-math
- RabbitMQ 3.13
Final words
Changing your store to the Magento 2 platform requires more than what you’re currently doing. Understanding those minimum requirements of the Magento 2 system will enable you to select the most compatible and effective softwares. I hope this post gives you more detailed knowledge of Magento to make the most out of it. In case you want to find out more about the live demo site, please click here.
Looking for Magento Development Company?
8+ years of experiences in e-commerce & Magento has prepared us for any challenges, so that we can lead you to your success.
Get free consultantRecent Tutorials
How to insert Order Attributes to Transactional Emails
How to insert Order Attributes to Transactional Emails
How to add Order Attributes to PDF Order Template
Explore Our Products:
People also searched for
- magento 2.3.5 system requirements
- magento 2.3.5 requirements
- magento 2.3.5 php requirements
- magento 2.3.4 system requirements
- magento 2.3.4 requirements
- magento 2.3.4 php requirements
- magento 2.3.3 system requirements
- magento 2.3.3 requirements
- magento 2.3.3 php requirements
- magento 2.3.2 requirements
- magento 2.3.2 system requirements
- magento 2 requirements
- magento 2.3.2 php requirements
- magento 2 system requirements
- magento 2.3 system requirements
- magento 2.3.2 php version
- magento 2.3 requirements
- magento 2.3 php requirements
- magento 2 php requirements
- magento 2.3 php version
- magento 2.3.1 requirements
- magento 2 hosting requirements
- magento 2.3 server requirements
- magento system requirements
- magento 2.2 requirements
- magento php requirements
- magento server requirements
- magento 2 hardware requirements
- magento 2.3.1 system requirements
- magento 2.2 php requirements
- magento 2.0 requirements
- magento 2.3.0 requirements
- magento 2.3.1 requirement
- server requirements for magento 2
- magento 2.3 php extensions
- magento 2.2.5 system requirements
- magento 2 memory requirements
- magento 2 ram requirements
- magento 2 server hardware requirements
- magento hardware requirements
- magento 2.2.8 system requirement
- php version for magento 2.3.2
- magento 2 minimum server requirements
- magento 2.3 hardware requirements
- magento requirements
- magento server recommendations
- magento hosting requirements
- magento 2.2 system requirements
- magento 2.1 system requirements
- magento 2 minimum requirements
- magento 2.2.6 system requirements
- magento 2.3.1 php version
- magento 2.2.8 system requirements
- magento 2 mysql version
- magento requirement
- magento 2 php version requirement
- magento minimum requirements
- magento 2 installation requirements
- magento 2.2.7 system requirements
- magento 2 support php version
- magento 2.1 php version
- magento php support
- magento 2.2.6 requirements
- magento 2.3 support php version
- magento 2.2.3 requirements
- magento 2.3 requirements php
- magento 2.2.4 requirements
- magento 2.2.5 requirements
- 2.3.x, 2.4.x
Stay in the know
Get special offers on the latest news from Mageplaza.
Earn $10 in reward now!