Magento 2.3.6 installation


Magento version 2.4.0 or higher cannot be installed on the hosting, since they require the Elasticsearch module, which is on the hosting not supported.

Before installation:

  1. Install for the site PHP version 7.3 (official requirements).
  2. Register on Magento official website and on download page select and download on your PC the archive with the distribution kit version 2.3.6.
  3. Place the distribution files on the hosting:
    1. Through filemanager or any FTPclient upload the archive to hosting in root directory preliminarily added site.
    2. Unpack downloaded archive with filemanager.
    3. Replace two files .htaccesshosted in root directory site and subdirectory pub, for files fromhere or edit them yourself like this:
      1. Find a line like this:
        Options +FollowSymlinks

        Replace it with this:

        Options +SymLinksIfOwnerMatch
      2. Find all such blocks of code:
        <IfVersion < 2.4>
            order allow,deny
            deny from all
        <IfVersion >= 2.4>
            Require all denied

        Replace each of them with this line:

        Require all denied
  4. Prepare the database:
    • If there is no free database, create new.
    • If there is an unused database, you can clear and use it.
  5. Disable IP Access Restriction in MySQL security settings... If this is not done, after specifying the connection data to the database, Magento will inform you that the user does not have enough rights and will not allow the installation to proceed.
  1. Open the site in a browser.
  2. Read the license and accept it.
  3. Step 1: Readiness check. Click the test button and make sure that all the conditions for the installation are met (there is a green checkmark in each line).
  4. Step 2: Add database. Specify the settings for connecting to the database:
    • "Database Server Host" - instead of localhost indicate host (server) address databases.
    • "Database Server Username" — instead of root indicate Username (login) Database.
    • "Database Server Password" — specify user password Database.
    • "Database Name" — instead of magento indicate title Database.
    • "Table prefix" — leave it blank or specify any prefix you like.
  5. Step 3: Web config:
    • Basic settings:
      • "Your Store Address" - the address at which the site will operate. Determined automatically.
      • "Magento Admin Address" - the address where the site's admin panel will be available. Generated automatically. You can specify your own instead of the generated one.
    • Additional settings ("Advanced Options"):
      • "HTTPS Options" - setting up HTTPS in the main part of the site and its admin panel. If the site already connected SSL certificate and not involved redirect on HTTP, options can be enabled immediately.
      • "Apache Rewrites" - support for Apache redirects. The option must be left enabled.
      • "Encryption Key" - encryption key. You can leave the value "I want to use a Magento generated key"selected by default.
      • "Session Save" - session storage location. You can leave the value "Files"selected by default.
  6. Step 4: Store setup. Specify the desired time zone, currency and language.
  7. Step 5: Create an administrator account. Provide administrator details (they will be used to access adminpanels site):
    • "New Username" — Username.
    • "New Email" - mail.
    • "New Password" and "Confirm Password" - password.
  8. Step 6: Installation. Click the install button and wait for the operation to complete.
  9. For security change directory access rights app/etc and remove write permissions in its properties.
  10. Check the site is working.