2.13.4.2. Installing OpenCart

Before installation:

  1. Download from official site an archive with the distribution kit of the latest version of OpenCart on your PC.
  2. 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. Move the entire contents of the subdirectory upload in root directory.
    4. Edit the file .htaccess.txt:
      1. Find the following line in it:
        Options +FollowSymlinks
      2. Replace it with this:
        Options +SymLinksIfOwnerMatch
    5. Rename .htaccess.txt in .htaccess.
    6. Rename two files config-dist.php in config.php:
      1. The first is in root directory.
      2. The second one is in a subdirectory admin.
  3. Prepare the database:
    • If there is no free database, create new.
    • If there is an unused database, you can clear and use it.
  1. Open the site in a browser.
  2. Step 1... Read the license and accept it.
  3. Step 2... Make sure that all conditions for the installation are met (each line contains a green checkmark or the word "Writable").
  4. Step 3... Fill the form:
    1. Specify the settings for connecting to the database:
      • "DB Driver" - leave "MySQLi".
      • "Hostname" - instead of localhost indicate host (server) address databases.
      • "Username" — instead of root indicate Username (login) Database.
      • "Password" — specify user password Database.
      • "Database" — specify title Database.
      • "Port" - leave the standard port 3306.
      • "Prefix" — leave the standard prefix oc_ or specify any other at your discretion.
    2. Provide administrator details (they will be used to access adminpanels site):
      • "Username" — Username.
      • "Password" - password.
      • "E-Mail" - mail.
  5. Step 4... Remove subdirectory install of root directory site.
  6. Check the site is working.
To change the language in OpenCart use instruction.
Content