System Requirements for Magento 2 B2B Store – All You Need To Know
Atul Gupta
CEO and Co-founder @ APPSeCONNECT | SaaSBOOMi SGx Winter 2022 | Empowering businesses accelerate growth with automated business processes | Co-Founder @ Inspiria | Making the youth employable & life-ready
Magento 2.3 Server Environment Requirements for Production-
Operating systems (Linux x86-64)
Linux distributions, such as RedHat Enterprise Linux (RHEL), CentOS, Ubuntu, Debian, and similar. We Recommend Ubuntu 18.04 Server edition
Processor
4 logical cores or more as per your business needs.
Memory requirement
8GB and more as per your business requirement and SSD will be a help for performance improvement.
Magento 2.3.X Software Recommendations-
We suggest employing the below-mentioned software package for production instances in Magento:
Web server:
You can use the latest open source version of Nginx. We recommend using nginx for production.
PHP and PHP-FPM:
Magento fully supports PHP 7.2.11. There are many factors to keep in mind when configuring PHP, in order to strain out the maximum speed and efficiency on the requests processing. Supported PHP versions: 7.1.3 or 7.2.0
Required PHP Extensions:
It is recommended to limit the list of active PHP extensions to only those which are sspecfically needed for Magento:
- php-bcmath
- php-cli
- php-common
- php-curl
- php-gd
- php-intl
- php-mbstring
- php-mcrypt
- php-opcache
- php-openssl
- php-pdo
- php-soap
- php-xml
- php-xsl
- php-zip
PHP settings:
Some PHP tweaks are needed to get faster performance.
Database:
We recommend using MySQL 5.7, Magento 2.3.X does not support MySQL 8.0 We are confident that MySQL is distributed with good default settings. But for better performance tweaks might be helpful
Varnish cache:
It is an open source web application accelerator (also referred to as an HTTP accelerator or caching HTTP reverse proxy). Varnish stores (or caches) files/fragments of files in memory; this enables Varnish to decrease the response time and the network bandwidth consumption on upcoming, similar requests. Unlike the web servers like Apache and nginx, Varnish has been exclusively designed for the use of the HTTP protocol. Note: Magento 2 supports Varnish 4.x and 5.x We strongly recommend you use Varnish in production
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 extension
GTM Leader & SaaS enthusiast
5 年Great resource and information, Atul.?