The easiest way is to find an all-in-one webserver package.
EasyWamp & Xampp are popular ones. (I prefer EasyWamp)
Once you download one of those, install it. It will install the major components you need like
- Apache (main http server)
- Mysql (database)
- PHP5 (php executor)
After install, you should be able to find a home page when you visit http://localhost in the address bar. If you see the site, then you are half way there.
OpenCart, like all other database-based platforms, will need to install into a mysql database.
1. Setting up a database
On the http://localhost page, you should see a link on that page for "phpmyadmin" somewhere. You will need to go here and create a database. Call it "opencartdb"
You should have a default user already setup with the all-in-one server. On EasyWamp it is "root" with password of "root". Check the documentation for the default user in xampp. Keep this information handy for Step 3.
2. Extracting Files
Now extract the contents of the opencart zip file to the folder that corresponds to your webserver's web folder:
If you use xampp it should be C:\xampp\htdocs\
if you use easywamp it should be C:\EasyWamp\www\
you can rename opencart's top level "upload" folder to something like "oc"
3. Installing OpenCart
Now you can goto your browser and type:
It should take you to the OpenCart installer
Enter the following exactly as shown:
Follow the rest of the install steps and you should be done.
Code: Select all
Database Host: localhost Database User: root Database Pass: root Database Name: opencartdb
From this point, all things that you want to access like a webpage would go into this www or htdocs folder