- By Opencart
- 18 Sep 2026
- 0 comments
Core insights
- Installing OpenCart takes one of two routes: a one-click install through your host’s app installer, or a manual install by uploading the files and running the setup wizard.
- You need hosting that supports PHP 8 and a database, which is ordinary shared hosting, plus the free OpenCart download. Nothing exotic and no platform fee.
- The install finishes in a few steps, and the important part afterward is securing it: delete the install folder, rename the config files, and use strong admin credentials.
On this page
- What you need before you start
- Choosing hosting for OpenCart
- The one-click install
- The manual install
- Running the setup wizard
- Securing the install
- Troubleshooting common issues
- Your first login
- Keeping your install current
- Your next steps
- Where to get help
Installing OpenCart is the moment your free download becomes a real store you own. It is more approachable than the word install suggests, because there is a one-click route for most hosts and a clear wizard for the manual route. This guide walks through both, plus the security steps that matter afterward. Follow it in order and you will have a working admin to log into at the end.
If you want the full official reference alongside this, the OpenCart documentation covers installation and every setting in detail. This page is the plain-language version to get you from download to running.
What you need before you start
Three things, and none of them is expensive. You need hosting that supports PHP 8 and a database such as MySQL, MariaDB or PostgreSQL, which is ordinary shared hosting from almost any provider. You need a domain pointed at that hosting. And you need the OpenCart software, which you download for free.
That is the whole shopping list. There is no license to buy and no platform fee, because you are installing a store you own onto hosting you control. If you have not chosen hosting yet, the guide to building your first store for free covers picking it. Once you have hosting and the download ready, choose one of the two install routes below.
Choosing hosting for OpenCart
Since your hosting is where your store lives, a moment on choosing it saves trouble later. The good news is that OpenCart is light, so it does not need an expensive server to start. Ordinary shared hosting that supports PHP 8 and a database runs it comfortably for a new store, which is part of why owning your store stays inexpensive.
A few things are worth checking before you buy. Make sure the host supports the PHP and database versions OpenCart needs, offers free SSL so you can serve the whole store securely, and includes an app installer if you want the one-click route below. A host with responsive support is worth a little more, because a quick answer during setup is worth its weight.
You are not locked into your first choice. Because you own the store and your data is portable, moving to stronger hosting as you grow is a known task rather than a trap, which is one more freedom that comes with an owned, open-source store. Start with hosting that fits today, and upgrade when traffic genuinely asks for it.
The one-click install
If your hosting control panel includes an app installer such as Softaculous, this is the easiest route and takes a few minutes. It handles the files, the database and the setup for you.
- Open the app installer. Log into your hosting panel and open the Softaculous apps installer, or the equivalent your host provides.
- Find OpenCart. Search for OpenCart, select it, and click install.
- Fill in the basics. Set the protocol to https, enter your store details, and choose an admin email, username and a strong password.
- Install. Click install and let it run. When it finishes, you get links to your storefront and your admin, ready to log into.
That is the whole install on this route. If your host does not offer an app installer, use the manual route below, which is only a little longer.
The manual install
The manual route gives you full control and works on any host. It has three parts: upload the files, create a database, then run the setup wizard.
First, unzip the OpenCart download on your computer. Inside you will find an "upload" folder, which holds the files that go on your server. Upload the contents of that folder, not the folder itself, to your web space using an FTP program like FileZilla or your host’s file manager. If you want the shop on your main domain, the files go in your public web root, often called public_html.
Second, create a database. In your hosting control panel, find the MySQL or MariaDB databases area, create a new database, create a user, and give that user access to the database. Note the database name, username and password, because the wizard asks for them in the next step.
Running the setup wizard
Before the wizard runs, rename two files: config-dist.php in the main folder and config-dist.php in the admin folder both become config.php. Then open your web address in a browser and the installer greets you. It has four short steps.
License. Read the license, agree to it, and continue.
Pre-installation check. The wizard confirms your server meets the requirements. Make sure every item is green before you continue.
Configuration. Enter the database details you created, then set your admin username, password and email.
Finished. The install completes. You can now visit your storefront or log into the admin.
Four steps, a few minutes. The moment step four finishes, your store exists and is yours.
If the pre-installation check flags anything, it is almost always a hosting setting your provider can adjust, so a quick message to their support usually clears it.
Securing the install
A store you own is a store you secure, and the steps are quick and worth doing straight away. These close the doors that unattended installs leave open.
- Delete the install folder. Once setup is done, remove the install directory. This is the most important step.
- Rename the admin folder. Giving your admin directory a custom name during installation makes the backend harder to find.
- Move the storage folder. Moving storage outside the web root protects it, and the OpenCart 4 installer offers a one-click option to do this.
- Use strong credentials. A strong admin password is the simplest defense there is, so do not skip it.
These take a couple of minutes and matter because you own the store rather than a vendor securing it for you. That ownership is the point, and a few sensible habits keep it safe. The wider question of open-source security is covered in the guide to self-hosted platforms.
Troubleshooting common issues
Most install hiccups are small and well documented, so do not be put off if something needs a second look. A handful come up often enough to name in advance.
- The pre-installation check flags a requirement. This is almost always a hosting setting, such as a PHP version or a missing extension. Your host can adjust it, so a quick support message usually clears it.
- The installer page does not appear. Check that the files went into the correct public folder and that you renamed both config-dist.php files to config.php.
- A database connection error. Re-check the database name, username, password and host you entered against what you created, since a typo here is the usual cause.
- The store loads but looks unstyled. This is often a cache or a storage-folder path issue, and clearing the cache or confirming the storage location resolves it.
If something is not on this list, the community forum has almost certainly seen it before, which is one of the quiet benefits of a widely used open-source platform. The help is plentiful and free, and you are rarely the first person to hit any given snag.
Your first login
Log into the admin with the username and password you set, and you are looking at your own store’s control panel. From here you set your store name, currency, language and contact details, and you are ready to start adding products. Nothing here needs a developer, which is the point of a light platform.
The natural next step is the beginner setup, which walks through configuring the store and adding your first products. Installation is the hard-sounding part, and you have just done it.
Keeping your install current
Installing OpenCart is a one-time job. Keeping it current is the small ongoing habit that protects everything you build on it, and it is worth setting up a rhythm for from the start rather than discovering it during a problem.
There are two things to keep current, and both live inside the admin. The OpenCart software itself gets updates that include security fixes, so applying them when they appear is the single most important maintenance task there is. Your extensions and theme need the same attention, because an out-of-date add-on is the most common way a self-hosted store runs into trouble. Neither is difficult; both just need to actually happen.
A few habits keep it painless.
- Back up before you update. A quick database and file backup means any update is reversible, so you can apply changes with confidence.
- Update on a schedule. Set a recurring reminder rather than waiting for a problem, so the install never drifts far behind.
- Only install from trusted sources. Extensions from the official marketplace or a known developer, never a cracked copy offered for free, which is a classic way in for malware.
- Test after big changes. Place a quick test order after a major update to confirm checkout still works before your customers find out.
If you would rather not do this yourself, a managed host or an OpenCart partner will keep the store current for you, and you still own it outright. The point is that keeping an owned store secure is a light, manageable routine rather than a burden, done in exchange for the ownership no hosted platform gives you.
Your next steps
With the store installed and secured, the work turns from technical to commercial, which is the fun part. The install was the one hurdle that sounds harder than it is, and it is behind you. From here you are configuring a shop rather than wrestling with servers.
A sensible order keeps the momentum going.
- Configure the basics. Set your store name, currency, language, tax and contact details, walked through in the beginner setup guide.
- Add your products. Build your catalog category by category, with strong photos and honest descriptions.
- Set up payments and shipping. Connect your card processor and set your delivery rates so the store can actually trade.
- Set up for search. Turn on search-friendly URLs and fill in your titles early, covered in the OpenCart SEO guide.
- Plan the wider launch. The whole journey from idea to first sales is in the pillar on how to start an online store.
None of these needs a developer on a light platform, which is the whole reason to run one. You installed a store you own outright, and everything from here is yours to build at no platform fee and on your own schedule.
Where to get help
If anything sticks, the official documentation covers installation in full, and the OpenCart community forum has answers to almost every install question that comes up. Because OpenCart is widely used and open source, the help is plentiful and free, which is one more advantage of a platform with a large community behind it.
Once you are installed, the store is genuinely yours: no platform fee, no cut of your sales, and full control of everything you build. If you have not downloaded OpenCart yet, that is the first step, and the rest of this guide is waiting for you.
Download and install your own store
Free to download, runs on ordinary hosting, yours to keep.
Download OpenCart free








