Install OpenCart 2.2.0 on Windows

Trabla: Install OpenCart 2.2.0 on Windows ( XAMPP 5.6.21)


Install OpenCart 2.2.0 on Windows 7 with XAMPP tutorial

OpenCart is an online store management system. It is PHP-based, using a MySQL database and HTML components. Support is provided for numerous languages and currencies, and it is freely available under the GNU General Public License.
https://en.wikipedia.org/wiki/OpenCart


Latest tutorial - Install OpenCart 2.3.0.2 E-Commerce Shopping Cart on Windows 7 x64 localhost ( XAMPP 5.6.24 )
http://codingtrabla.blogspot.com/2016/09/install-opencart-23-e-commerce-shopping.html

Solving:

1.  Download and install XAMPP 5.6.21 from official site:
https://www.apachefriends.org/download.html

Install OpenCart 2.2.0 on Windows 7 with XAMPP tutorial 1


2. Download Open Cart 2.2.0 source from official site:
http://www.opencart.com/?route=download/download

Install OpenCart 2.2.0 on Windows 7 with XAMPP tutorial 2

Install OpenCart 2.2.0 on Windows 7 with XAMPP tutorial 3


3. Create folder \opencart in XAMPP htdocs folder
C:\xampp\htdocs\opencart
and copy all files from downloaded Open Cart 2.2.0  .zip source
( /upload folder !!!)

Install OpenCart 2.2.0 on Windows 7 with XAMPP tutorial 4


4. In folder C:\xampp\htdocs\opencart
rename file config-dist.php to config.php


Install OpenCart 2.2.0 on Windows 7 with XAMPP tutorial 5

5. In folder C:\xampp\htdocs\opencart\admin
rename file config-dist.php to config.php

Install OpenCart 2.2.0 on Windows 7 with XAMPP tutorial 6


6. Run XAMPP Control Panel 
- start Apache
- start Database

Install OpenCart 2.2.0 on Windows 7 with XAMPP tutorial 7


7. Open in browser following url to start Open Cart 2.2.0 installation
http://localhost/opencart/install/index.php?route=install/step_1
Click "Continue" button

Install OpenCart 2.2.0 on Windows 7 with XAMPP tutorial 8


8. "Pre-installation" page - click "Continue"

Install OpenCart 2.2.0 on Windows 7 with XAMPP tutorial 9

Install OpenCart 2.2.0 on Windows 7 with XAMPP tutorial 10


9. "Configuration" page - database connection and admin credentials setup

Install OpenCart 2.2.0 on Windows 7 with XAMPP tutorial 11

Lets create new user and database for OpenCart:

1) Open phpMyAdmin in new browser tab (or window :) ) - http://localhost/phpmyadmin
2) Open SQL tab
3) Execute following query

( our database name will be - `opencart-db`
user(s) -  
'opencart-db-owner'@'localhost'  
'opencart-db-owner'@'127.0.0.1' 
'opencart-db-owner'@'::1'
with password 'OpenCrt123$%'
)



CREATE DATABASE `opencart-db` 
DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;

CREATE USER 'opencart-db-owner'@'localhost'
CREATE USER 'opencart-db-owner'@'127.0.0.1';
CREATE USER 'opencart-db-owner'@'::1';

SET PASSWORD 
FOR 'opencart-db-owner'@'localhost' = PASSWORD('OpenCrt123$%');
SET PASSWORD 
FOR 'opencart-db-owner'@'127.0.0.1' = PASSWORD('OpenCrt123$%');
SET PASSWORD 
FOR 'opencart-db-owner'@'::1' = PASSWORD('OpenCrt123$%');


GRANT ALL PRIVILEGES ON 
`opencart-db`.* TO 'opencart-db-owner'@'localhost' WITH GRANT OPTION;
GRANT ALL PRIVILEGES ON 
`opencart-db`.* TO 'opencart-db-owner'@'127.0.0.1' WITH GRANT OPTION;
GRANT ALL PRIVILEGES ON 
`opencart-db`.* TO 'opencart-db-owner'@'::1' WITH GRANT OPTION;




Install OpenCart 2.2.0 on Windows 7 with XAMPP tutorial 12

Install OpenCart 2.2.0 on Windows 7 with XAMPP tutorial 13

Back  OpenCart to installarion page - fill all fields
( use
database nameopencart-db
user opencart-db-owner
password ( for user ) - OpenCrt123$%
)
and click "Continue"

Install OpenCart 2.2.0 on Windows 7 with XAMPP tutorial 14


10. Hooray!!! Almost ready :)

Install OpenCart 2.2.0 on Windows 7 with XAMPP tutorial 15

11. Delete folder C:\xampp\opencart\install

Install OpenCart 2.2.0 on Windows 7 with XAMPP tutorial 16

Enjoy OpenCart 2.2.0 !!! :)

Install OpenCart 2.2.0 on Windows 7 with XAMPP tutorial 17

http://localhost/opencart ( Store )

Install OpenCart 2.2.0 on Windows 7 with XAMPP tutorial 18

http://localhost/opencart/admin ( Admin )

No comments:

Post a Comment