PHP 7.3 reaches end of support in December 2021 and Adobe Commerce 2.3.x reaches end of support in April 2022. You may want to consider planning your upgrade now to Adobe Commerce 2.4.x and PHP 7.4.x to help maintain PCI compliance.

Installation flow diagram

The following diagram provides a high-level overview of installing the Magento software:

How Magento installation works

The general installation flow is as follows:

  1. Set up your server environment.

    Install the prerequisite software, including PHP, Apache, MySQL, and Elasticsearch. See the system requirements for more information.

  2. Get authentication keys to the Magento Composer repository.

  3. Get the Magento software.

    • (Recommended) Get the Magento Open Source or Adobe Commerce Composer metapackage to manage Magento components and their dependencies.

    • If you want to contribute to the Magento Open Source codebase or customize the Magento application, clone the Magento 2 GitHub repository. This method requires familiarity with both GitHub and Composer.

  4. Install the Magento software using the command line.

    If the step fails because prerequisite software isn’t set up correctly, review our Prerequisites.

  5. Verify the installation by viewing your storefront and the Admin.