2.13.4.2. Installing OpenCart
Automatic installation
Use instruction.
Manual installation
Before installation:
- Download from official site an archive with the distribution kit of the latest version of OpenCart on your PC.
- Place the distribution files on the hosting:
- Through filemanager or any FTPclient upload the archive to hosting in root directory preliminarily added site.
- Unpack downloaded archive with filemanager.
- Move the entire contents of the subdirectory
upload
in root directory. - Edit the file
.htaccess.txt
:- Find the following line in it:
Options +FollowSymlinks
- Replace it with this:
Options +SymLinksIfOwnerMatch
- Rename
.htaccess.txt
in.htaccess
. - Rename two files
config-dist.php
inconfig.php
:- The first is in root directory.
- The second one is in a subdirectory
admin
.
- Prepare the database:
- Open the site in a browser.
- Step 1... Read the license and accept it.
- Step 2... Make sure that all conditions for the installation are met (each line contains a green checkmark or the word "Writable").
- Step 3... Fill the form:
- 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.
- Provide administrator details (they will be used to access adminpanels site):
- "Username" — Username.
- "Password" - password.
- "E-Mail" - mail.
- Step 4... Remove subdirectory
install
of root directory site. - Check the site is working.
To change the language in OpenCart use instruction.