Menu Close
    Start a Project Request quote Reading list Switch to dark mode
    hyperlocal-marketplace-guide

    Installing Magento2.4

    Hi, Magento 2.4 has been launched on 28th July 2020. You can read the release notes from here. While installing Magento 2.4 I faced some issues here I am going to explain that. Most people install Magento using the web UI, but now in Magento 2.4, you can only install it via CLI. You can check its server requirements from here. Magento 2.4 is recommended to install on PHP 7.4 even it can be installed on 7.3 but it is not recommended, also apache 2.4 which is the same as the old version, and now you have to upgrade your MySQL version to the latest MySQL 8.

    Note:

    But even after upgrading above and all the PHP required extensions, you need to configure and install elastic search 7.6.x on your system, or any other server to install Magento 2.4 because elastic search is now the default search engine for Magento frontend, so now you cannot install Magento without the elastic search.

    Lets see step by step how to install Magento 2.4 from CLI:

    Another thing to note Magento 2.4 is not installable on Windows or Mac, it is now only supported in Linux distributions such as CentOS, Ubuntu, Debian and similar.

    Another issue that you will face, after installation is done, you will not be able to login Magento admin panel because in Magento2.4 two-factor authentication is installed and it will not let you log in until you provide the correct email and configure SMTP so that Magento can send an email, in that case, the only solution I found is to disable the two-factor authentication module:

    . . .

    Comments (3)

    Add Your Comment

  • Noury Micron
    Hello Ashutosh Srivastava

    We are in the process of planning for an eCommerce project with Magento 2.4 “magento community edition open source” for building up the e-commerce project.

    But we are really confused with:
    1- which Web server to proceed Nginx or Apache?
    2-which SQL Server to proceed MariaDB or MySQL?

    Thanks and Best regards,
    Noury

    • ashutosh srivastava
      Hi,
      I will suggest nginx with PHP-FPM and for database MariaDB as it has larger connection pool.
      Thanks
      • ashutosh srivastava
        Mariadb is not fully supported in community edition it only uses mysql specific features and not all the mysql features are supported in mariaDB, so its better to use mysql in community edition magento.
  • Back to Top
    css.php
    Hire Us!
    Brief us about your requirements and we'll get back to you.
    Woo! Hooy!
    We have just recieved your project brief and our expert will contact you shortly.
    Send Again
    Close