The Nginx, PHP and MariaDB server is installed automatically, but OpenCart is not: you upload, install and update it yourself. OpenCart is free, while some extensions and themes on its marketplace are paid.
Choose the resources of your VPS
OpenCart runs on all our Linux VPS plans: you only pay for the VPS.
With your consent, we measure which ads bring us customers and how the site is used. Without it, nothing is measured and the site works exactly the same. You can change your mind at any time. Cookie policy.
Host your OpenCart store on an ACLClouds VPS with Nginx, PHP and MariaDB already set up: files, database, web installer and HTTPS.
OpenCart is a lightweight PHP store. The ACLClouds Nginx + PHP + MariaDB image prepares the server, then you upload OpenCart and run its installer.
Step-by-step procedure
Order the Nginx + PHP + MariaDB VPS
Order a VPS Mini with the Nginx + PHP + MariaDB image. Enter the domain, email, database name and MariaDB user. Then connect over SSH as root.
Add the PHP gd extension
OpenCart uses gd to resize product images. Install it, then restart PHP-FPM.
Upload the OpenCart files
Download the latest release from the releases page of the OpenCart GitHub repository. Extract the archive and copy the contents of the upload folder into the site root, /var/www/your-domain.
Prepare the configuration files
Rename both config-dist.php files to config.php and give the files to the web server user.
Run the web installer
Open your domain followed by /install/ in the browser. Enter the MariaDB database, user and password chosen at order, create the admin account, then delete the install folder.
Set up email and friendly URLs
In the admin panel, configure the external SMTP. Friendly URLs need an extra Nginx rewrite rule: follow the OpenCart documentation, then take a backup from the panel.
Choose the resources of your VPS
OpenCart runs on all our Linux VPS plans: you only pay for the VPS.
Recommended base: LEMP Web Server
VPS Mini: €3.99 per month incl. VAT with a 1-year term (or €4.99 per month with no commitment) · 2 vCPU · 8 GB RAM · 40 GB storage
VPS Essentiel: €7.99 per month incl. VAT with a 1-year term (or €9.99 per month with no commitment) · 4 vCPU · 16 GB RAM · 80 GB storage
VPS Performance: €17.59 per month incl. VAT with a 1-year term (or €21.99 per month with no commitment) · 8 vCPU · 48 GB RAM · 150 GB storage
VPS Pro: €27.99 per month incl. VAT with a 1-year term (or €34.99 per month with no commitment) · 12 vCPU · 64 GB RAM · 250 GB storage
Why run OpenCart on a VPS?
OpenCart is free, open source online store software written in PHP with a MySQL or MariaDB database. It handles the catalog, product options, customers, orders, payment and shipping methods. Thousands of extensions and themes are available on its marketplace, some free and some paid.
On a VPS you choose the PHP version, extensions and cache settings. You reach the files and the database without the limits of shared hosting. It is also easier to install an extension that needs a specific PHP module or a cron job.
Web server ready at order
The Nginx + PHP + MariaDB image is installed automatically: virtual host, PHP-FPM, database and user are created. You only need to upload the OpenCart files.
Root and SSH access
Add missing PHP extensions, raise upload limits or install a caching tool. You control the whole system.
Backups from the panel
Before installing an extension or an OpenCart update, start a VPS backup. If something breaks, you go back to the previous state.
Dedicated IPv4 for HTTPS
The store domain points to your own IPv4. Certbot gets the Let’s Encrypt certificate, and anti-DDoS protection filters network attacks.
Before you start
Good to know: The Nginx, PHP and MariaDB server is installed automatically, but OpenCart is not: you upload, install and update it yourself. OpenCart is free, while some extensions and themes on its marketplace are paid.
Nginx + PHP + MariaDB image (Debian 12, PHP 8.2)
PHP gd extension to add, the other common extensions are already there
A domain pointing to the VPS IPv4, or a free aclclouds.online subdomain
Ports 80 and 443 open
An external SMTP service (port 587) for order emails
Install OpenCart on your VPS
The main steps, to follow over SSH. The official documentation is the reference for the details.
Order the Nginx + PHP + MariaDB VPS: Order a VPS Mini with the Nginx + PHP + MariaDB image. Enter the domain, email, database name and MariaDB user. Then connect over SSH as root.
Add the PHP gd extension: OpenCart uses gd to resize product images. Install it, then restart PHP-FPM.
Upload the OpenCart files: Download the latest release from the releases page of the OpenCart GitHub repository. Extract the archive and copy the contents of the upload folder into the site root, /var/www/your-domain.
Prepare the configuration files: Rename both config-dist.php files to config.php and give the files to the web server user.
Run the web installer: Open your domain followed by /install/ in the browser. Enter the MariaDB database, user and password chosen at order, create the admin account, then delete the install folder.
Set up email and friendly URLs: In the admin panel, configure the external SMTP. Friendly URLs need an extra Nginx rewrite rule: follow the OpenCart documentation, then take a backup from the panel.
For which projects?
Small online store
Selling digital products
Catalog with product options
Test store before launch
The essentials, included in every plan
No hidden extras for the essentials: protection, an IP address, a recovery console and support from real people are included from the first plan.
Anti-DDoS: Network protection is included on every service, with no paid option.
Dedicated IPv4: Each VPS has its own public address and full root access.
Recovery console: Take back control of your VPS with the noVNC console, even without SSH.
Support 7 days a week: By ticket and on Discord, from a team that knows your services.
No commitment: Monthly, cancellable at any time, or yearly to pay less.
Run OpenCart on your own VPS.
Choose your resources, install, stay in control. No commitment.
Frequently asked questions
How do I install OpenCart on a VPS?
Order a VPS with the Nginx + PHP + MariaDB image, which creates the site and the database. Add the php-gd extension, copy the contents of the OpenCart upload folder into the site root, rename the config-dist.php files to config.php, then open /install/ in your browser. When the installer finishes, delete the install folder.
Which VPS plan for OpenCart?
OpenCart is lightweight. The VPS Mini (2 vCPU, 8 GB RAM, 40 GB) is enough to start a store with a regular catalog. If you add many extensions, a large image catalog or heavy traffic, move to the VPS Essential (4 vCPU, 16 GB). Changing plans does not require reinstalling OpenCart.
Is OpenCart free?
Yes. OpenCart is open source software released under the GPL, with no subscription. You can use it for a commercial store. However, part of the themes and extensions on its marketplace are sold by their authors. We do not provide any software license, neither for OpenCart nor for its extensions.
Why delete the OpenCart install folder?
The install folder holds the wizard that writes the configuration and creates the tables. Leaving it online would let someone run the installation again on your server. OpenCart also shows a warning in the admin panel as long as it exists. Remove it with rm -rf install from the site root right after installing.
Do OpenCart friendly URLs work with Nginx?
Yes, but OpenCart mainly ships an .htaccess file for Apache, which Nginx ignores. You need to add a rewrite rule to the Nginx virtual host that sends addresses to index.php with the route parameter OpenCart expects. Then enable the option in the store settings and test a few product pages.