Chat with us, powered by LiveChat

This website uses cookies

Our website, platform and/or any sub domains use cookies to understand how you use our services, and to improve both your experience and our marketing relevance.

Essential Magento Requirements For Better Store Performance

May 23, 2019

8 Min Read
Magento-Requirement
Reading Time: 8 minutes

Magento has become one of the most preferred ecommerce platforms for online merchants with over 0.2 million websites using it. One reason behind its enormous success relates to the fact that Magento helps ecommerce store owners excel in their businesses and facilitate customers with a wonderful shopping experience.

But the process of installing Magento is not so easy. In fact, one has to meet many Magento requirements just to take their store live. If you haven’t already installed Magento, then you are in the right place. Because, in this post, I will discuss the prerequisites of installing Magento with various versions. Let’s begin.

Magento Requirements: Downloading & Installation

When you are about to install Magento platform on an ecommerce hosting, you will have to follow some specific Magento requirements. This includes managing the store operations for rich user experience.

Let’s check these Magento requirements in detail.

  • Know in advance the PHP or MySQL versions you have to use for each Magento version
  • Find the memory_limit, so that your application doesn’t get slow
  • Figure out what technologies you have to use on the server to create your Magento store such as memcached, Redis, etc.

Besides, there are a lot more requirements that you need to run your application smoothly in terms of performance and security. And to help you save time, we have provided Magento requirements for all top Magento versions.

Scale Your Magento 2 Store With Ease

One-Click Magento installation with your own managed hosting solution.

System Requirements for Magento 1.x

If you are starting with Magento 1.x then the following table is for you. Make sure you fulfill these requirements so you won’t have any ambiguities while using Magento 1.x.

  • Operating System
Linux x86 – 64
  • Database
MySQL (Oracle or Percona)
  • PHP Versions
PHP versions for Magento 1.x requirements:
PHP 5.6, PHP 5.5, PHP 5.4
  • Database
Databases that meet Magento requirements:

  • MySQL 5.6
  • MariaDB and Percona are also supported due to MySQL 5.6 APIs
  • Required PHP Extensions
  • PHP extensions also known as PHP libraries that are convenient for developers in terms of development.
  • bc-math (Magento Commerce only), curl, gd, ImageMagick 6.3.7 (or later) or both, intl, mbstring, mcrypt, hash, openssl, PDO/MySQL, SimpleXML, soap, xml, xsl, zip, PHP 7 only: json, iconv
  • So these extensions have different functionalities for e.g if you want to use “xsl” extension, it helps to read and execute the documents that are in .xsl format.

 

Server Requirements for Magento 1.x

  • Web Server
  • Apache 2.x
  • Nginx 1.7.x
  • SSL
  • A valid security certificate is necessary for HTTPS
  • Self-signed certificates won’t support
  • Server Hosting
  • Capable to execute “Schedule Jobs” also known as (Crontab) with PHP 5
  • Capable to override options in .htaccess files
  • Redis
Redis is used for cache storage and sessions
  • Memcached
Memcached is used for cache storage and sessions.
  • Apache Solr
Solr is used as a search provider for Magento Enterprise Edition.
  • Additional Configuration
  • Diable safe_mode
  • Memory_limit shouldn’t be less than 256 MB (512 MB recommended to manage Magento requirements)

 

Can I Install Magento on Windows?

Yes! You can install Magento on your local system using Windows by keeping in check these requirements.

  • Web Server
  • You have to install XAMPP with the latest version.
  • Apache version 2.2 or 2.4
  • Database
MySQL version 5.6.x or latest.
  • PHP Versions
To meet the Magento requirements for Windows you have to use these PHP versions:
5.6.5, 5.6.x, 7.0.13, 7.0.x, 7.1.x
  • PHP Extensions
bc-math, curl, gd, imagemagick 6.3.7 or later, Intl, Mbstring, mcrypt, mhash, openssl, pdo/mysql, mysqli, simplexml, soap xml, xsl, zip, and json, iconv (for PHP 7 only).

 

System Requirements for Magento 2.0.x

  • Operating System
If you are willing to use Magento 2.0 then your’s OS should be: Linux (x86 – 64)
  • Memory Requirement
To have a seamless performance of “Magento 2.0 application” then the RAM should be 2 GB. Along with this, you have to create a SWAP file so that your upgrade never fails.
  • Composer
Composer is for developers who want to contribute to the Magento “codebase” or build their own “extensions”.
  • Database
Databases that meet Magento requirements:

  • MySQL 5.6
  • MariaDB and Percona are also supported due to MySQL 5.6 APIs
  • PHP Versions
Magento 2 PHP versions:
5.5.22–5.5.x, 5.6.x, 7.0.2, 7.0.6–7.0.x
  • Required PHP Extensions
  • PHP extensions also known as PHP libraries that are convenient for developers in terms of development.
  • bc-math (Magento Commerce only), curl, gd, ImageMagick 6.3.7 (or later) or both, intl, mbstring, mcrypt, hash, openssl, PDO/MySQL, SimpleXML, soap, xml, xsl, zip, PHP 7 only: json, iconv
  • So these extensions have different functionalities for e.g if you want to use “xsl” extension, it helps to read and execute the documents that are in .xsl format.
  • PHP OPcache
OPcache helps to improve the performance of PHP by storing the “precompiled script” in shared memory. Hence, it reduces the time for loading the script on each request.

Therefore, it is necessary to enable the OPcache to have maximum performance.

  • PHP settings
Magento recommends PHP setting to avoid common problems such as memory_limit.

 

Server Requirements for Magento 2.0.x

  • Web Server
To fulfill the web server requirement, you have to use:

  • Apache 2.2 or 2.4
  • Nginx version 1.8 or latest version

Along with this, you have to enable “mod_rewrite” that helps the server to perform URL rewriting.

  • SSL
  • A valid security certificate is necessary for HTTPS
  • Self-signed certificates won’t support
  • Transport Layer Security (TLS) is also required
  • Mail Server
Mail server helps you in receiving and sending emails. It will let you have your own email address with your hosting name.

Here are the two requirements to install mail server:

  • MTA – Mail Transfer Agent
  • SMTP – Simple Mail Transfer Protocol
  • Redis
You have to use Redis version 3.0 for page caching and session storage.
  • Varnish
You have to use Varnish 3.0.5 or latest version 4.x for page caching.
  • Memcached
Use the latest stable version for session storage with Memcache or Memcached PHP extensions.
  • RabbitMQ
RabbitMQ version 3.5 is an open source software that accepts messages from producers and delivers to consumers. (Only for Commerce Edition)
  • Apache Solr
Solr version 4.x the search provider only available for Magento Commerce (Magento Enterprise Edition).

 

System Requirements for Magento 2.1.x

Before discussing the Magento requirements for 2.1, 2.2 and 2.3, I want to mention that most of the pre-requisites are the same. But the major differences are in the versions that we will discuss below.

  • Database
Databases that are compatible with Magento 2.1 application:

  • MySQL 5.6
  • Magento application version 2.1.2 and later are supported with MySQL 5.7
  • MariaDB and Percona are also compatible due to MySQL APIs
  • PHP Versions
These are PHP versions which are compatible with Magento application 2.1:
5.6.5–5.6.x, 7.0.2, 7.0.4, 7.0.6–7.0.x, 7.1.x

 

Server Requirements for Magento 2.1.x

  • Redis
Use Redis version 3.0, 4.0, 5.0.
  • Varnish
Use Varnish version 3.5 or the latest 4.x for page caching.
  • Apache Solr
  • Use Solr version 4.x. (Magento Commerce Only)
  • Use Elasticsearch version 1.7 and 2.x
  • If you get Elasticsearch from Linux repository then Magento 2.1 supports Elasticsearch version 2.x
  • If you get Elasticsearch from PHP repository then you have to use version 2.0

 

System Requirements for Magento 2.2.x

  • Database
  • MySQL versions 5.6, 5.7
  • Magento also supports MySQL NDB Cluster 7.4.x
  • MariaDB versions 10.0, 10.1, 10.2
  • Percona version 5.7
  • PHP Versions
PHP version
7.0.13 – 7.0.x, 7.1.x
  • Required PHP Extensions
  • bc-math (Magento Commerce only for 2.2.0 – 2.2.3. Magento Commerce and Magento Open Source as of 2.2.4.), ctype, curl, dom
  • gd, ImageMagick 6.3.7 (or later) or both, hash, iconv, intl, json, libxml, mbstring, mcrypt, openssl, PDO/MySQL, SimpleXML, soap, spl, xsl, zip

 

Server Requirements for Magento 2.2.x

  • RabbitMQ
Magento 2.2 supports RabbitMQ version 3.5.x.
  • Redis
Redis version 3.2 for page caching and session storage.
  • Varnish
  • Varnish version 4.x
  • Varnish version 5.0
  • Elasticsearch
Magento Commerce Edition 2.2.x supports Elasticsearch version 2.x.

 

System Requirements for Magento 2.3.x

  • Database
  • MySQL 5.6, 5.7
  • MySQL NDB Cluster 7.4.*
  • MariaDB 10.0, 10.1, 10.2
  • Percona 5.7
  • PHP Versions
PHP versions for Magento 2.3.x requirement:

  • PHP version 7.1.3
  • PHP version 7.2.0

Magento 2.3.1 is certified and tested on PHP version 7.2.11

  • 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-spl, ext-xsl, ext-zip, lib-libxml
  • Required system dependencies
These dependencies are useful in order to avoid hurdles during operations:
bash, Gzip, Lsof, Mysql, Mysqldump, Nice, Php, Sed, tar

 

Server Requirements for Magento 2.3.x

  • Web Server
  • Apache 2.2
  • Apache 2.4
  • Along with this, you have to “mod_rewrite” that helps the server to perform URL rewriting
  • Enable mod_version that resolves compatibility issues against httpd versions
  • Nginx version 1.8 or latest version
  • RabbitMQ
Rabbit version 3.7.x
  • Redis
Redis versions 3.2, 4.0, 5.0 whereas, version 5.0 is highly recommended.
  • Varnish
Varnish version 4.x or 5.2
  • Elasticsearch
  • Magento Commerce Version 2.3.x supports Elasticsearch version 6.x
  • Magento 2.3 supports Elasticsearch version 6.1

WOW! That was a huge list of requirements and you might be getting worried that how will you manage all of them.

You may have to test them so that you don’t find any hurdles while using Magento. This may mean spending hours to accomplish your goal. And, you would be lucky if you won’t find any error(s).

Here, I want to give a solution that will help you to get rid of all these hectic processes. By using “Managed Hosting” you can avail entire Magento requirements in less time.

The market has listed up with the numbers of managed hosting platforms but few of them are considerable. Before picking up any platform do checklist these traits that it should be easy to use and maintain built-in Magento requirements. However, if you are looking for the righteous managed hosting platform. Then, I would suggest Cloudways that offers “Pay As You Go” plan and other rich-features.

Let’s take a look at its advantages:

  • Enable SSL Certificate on a single click

ssl management

  • You don’t have to worry about “Cron Job Management”.  it assists you to automate your repetitive or scheduled tasks. For instance, if you want to clear your Magento store’s cache every Sunday at 12:00 am, you can set a cron job by clicking on “ADD NEW CRON JOB” button and enter the relevant information as per your desire.

cron job management

  • Support SMTP through this you can manage your emails in order to have better communication among customers. Not only this, you can run email marketing campaigns to aware the customer for upcoming sales and discounts.

smtp

  • Support all the server technologies that are essential for Magento such as Memcached to optimize the website’s performance. MySQL that takes care of all the databases. Redis that’s useful for page caching and session storage and many more.

service magento requirement

  • You can choose your favorite Magento versions

magento version select

But wait, that’s not the whole list, visit Cloudways for more exciting features that support the Magento requirements.

Final Words

There’s no doubt that Magento is the righteous ecommerce platform. But to make full use of it you have to install it properly on the server and meet all Magento requirements. I have provided a solution. You can do the whole painstaking Magento installation yourself, or you can go for a simple, easy to use, and one-click solution to start your Magento ecommerce store.

If you feel any confusion or queries, then let me know in the comment section below.

Share your opinion in the comment section. COMMENT NOW

Share This Article

Boost Your Magento Store Performance by 5x Times & Maximize Your Sales

Our fastest Magento hosting can help you in growing your business revenue by 500%

Abdur Rahman

Abdur Rahman is the Magento whizz at Cloudways. He is growth ambitious, and aims to learn & share information about Ecommerce & Magento Development through practice and experimentation. He loves to travel and explore new ideas whenever he finds time. Get in touch with him at abdul.rehman@cloudways.com

Get Our Newsletter
Be the first to get the latest updates and tutorials.

Do you like what you read?

Get the Latest Updates

Share Your Feedback

Please insert Content

Thank you for your feedback!