LiteCart on VPS: Free PHP E-commerce Platform, 4 MB Install, Pages Load in Milliseconds

31.03.2026
12:18

LiteCart is a Swedish open-source e-commerce platform, and its defining characteristic is right there in the name: it is literally light. The distribution package weighs around 4 MB, pages respond in milliseconds, and third-party library dependencies are minimal — developer Thomas Almroth (T. Almroth, LiteCart AB) deliberately wrote most components from scratch instead of bundling outside packages. This is not marketing: compared to PrestaShop (tens of MB), Magento (hundreds of MB), or Shopware (more still), the difference is striking.

Current version: LiteCart 2.6.3, released October 2025. Built on PHP, jQuery, HTML5, and CSS3. Free for everyone, no licensing fees.

This guide covers who LiteCart is for, how to install it on THE.Hosting VPS in any of 50+ locations — from Germany (Frankfurt) to Japan (Tokyo), from Netherlands (Meppel) to Brazil (São Paulo) — and how to configure it properly. Practical steps only.

What LiteCart Is

LiteCart is not a fork and not another iteration of osCommerce. The platform was written from scratch by a Swedish developer with an obsession for speed and minimalism. Instead of pulling in external libraries, LiteCart uses its own implementations for most components: HTTP client, SMTP client, cache, routing system, template engine — all in-house.

The key customization concept is vMods (Virtual Modifications). This is a mechanism for modifying platform files without directly editing the core: a vMod stores modification rules separately and applies them at render time. You can update the platform without worrying about overwriting your changes — they live in vMods independently of the core version.

Out of the box: unlimited products and categories, multilingual support, multi-currency with fixed prices per currency, one-step checkout, image optimization with WebP support, built-in statistics, order editor, plug-and-play add-ons through the admin panel, and CSV import with automatic delimiter detection.

LiteCart vs competitors:

LiteCart occupies a specific niche — a fast small-to-medium store without unnecessary complexity. Zen Cart and osCommerce carry heavier architectures and code from the early 2000s. PrestaShop and OpenCart are richer in built-in features but demand significantly more server resources. WooCommerce drags along WordPress. LiteCart outperforms all of the above on identical hardware — and this is measurable, not marketing.

Who LiteCart Is For

LiteCart fits best in a few scenarios. First — small and medium businesses that need a fast, low-maintenance store: minimal server requirements mean cheap hosting and predictable performance. Second — developers who want a clean codebase without legacy and overengineering: LiteCart's architecture is readable and extensible, built on a "one feature — one file" principle. Third — startups and personal stores where launching quickly with minimal investment matters.

The platform is not designed for high-traffic marketplaces, complex B2B setups with tiered pricing per customer group, or projects that need hundreds of specific integrations. For those, look at CS-Cart, Magento, or commercial X-Cart.

LiteCart 2.6.x System Requirements

Requirements are intentionally minimal:

  • Apache 2.4+ (Nginx also works with additional configuration)
  • PHP 5.6 or higher — the latest stable release is officially recommended (PHP 8.1/8.2/8.3)
  • MySQL 5.7+ or MariaDB

PHP extensions: curl, gd or Imagick (for image processing; Imagick is preferred for WebP and AVIF support), mbstring, pdo, pdo_mysql, zip.

Disk space: the distribution is about 4 MB. With cache, images, and logs — plan for 100 MB+ for a small store. RAM: LiteCart runs confidently on 512 MB; 1 GB gives comfortable headroom.

No special php.ini tuning required — LiteCart works on default values. Reasonable settings:

memory_limit = 128M
upload_max_filesize = 32M
post_max_size = 32M
max_execution_time = 60

Preparing the VPS

Connect:

ssh root@your-IP-address

Update the system:

apt update && apt upgrade -y

Create a working user:

adduser litecart
usermod -aG sudo litecart

Firewall:

ufw allow OpenSSH
ufw allow 80/tcp
ufw allow 443/tcp
ufw enable

Timezone:

timedatectl set-timezone America/New_York

Installing the Stack

Apache

apt install apache2 -y
systemctl start apache2
systemctl enable apache2
a2enmod rewrite headers deflate expires
systemctl restart apache2

The rewrite module is required for LiteCart's routing and SEO-friendly URLs.

MariaDB

apt install mariadb-server mariadb-client -y
systemctl start mariadb
systemctl enable mariadb
mysql_secure_installation

Create the store database:

mysql -u root -p
CREATE DATABASE litecart CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
CREATE USER 'lc_user'@'localhost' IDENTIFIED BY 'strong_password';
GRANT ALL PRIVILEGES ON litecart.* TO 'lc_user'@'localhost';
FLUSH PRIVILEGES;
EXIT;

PHP 8.2

add-apt-repository ppa:ondrej/php -y
apt update
apt install php8.2 libapache2-mod-php8.2 php8.2-mysql php8.2-curl \
php8.2-gd php8.2-mbstring php8.2-xml php8.2-zip php8.2-imagick -y

Imagick is preferred over GD for LiteCart — it handles WebP, AVIF, and image transparency correctly, which GD does inconsistently.

Restart Apache:

systemctl restart apache2

Verify PHP:

php -v

Installing LiteCart

Download the latest release from the official site:

cd /tmp
wget https://github.com/litecart/litecart/releases/latest/download/litecart.zip

Or from litecart.net/en/download.

Extract:

apt install unzip -y
unzip litecart.zip -d /tmp/lc-src

The archive contains a public_html/ folder — copy the contents of this folder, not the folder itself:

mkdir -p /var/www/litecart
cp -r /tmp/lc-src/public_html/. /var/www/litecart/

Set permissions:

chown -R www-dаta:www-data /var/www/litecart
find /var/www/litecart -type d -exec chmod 755 {} \;
find /var/www/litecart -type f -exec chmod 644 {} \;
chmod -R 777 /var/www/litecart/cache
chmod -R 777 /var/www/litecart/data
chmod -R 777 /var/www/litecart/images
chmod -R 777 /var/www/litecart/logs

Apache Virtual Host

nano /etc/apache2/sites-available/litecart.conf

Content:

<VirtualHost *:80>
    ServerName yourstore.com
    ServerAlias www.yourstore.com
    DocumentRoot /var/www/litecart

    <Directory /var/www/litecart>
        AllowOverride All
        Require all granted
        Options -Indexes
    </Directory>

    ErrorLog ${APACHE_LOG_DIR}/litecart-error.log
    CustomLog ${APACHE_LOG_DIR}/litecart-access.log combined
</VirtualHost>

Activate:

a2ensite litecart.conf
a2dissite 000-default.conf
systemctl restart apache2

SSL Certificate

apt install certbot python3-certbot-apache -y
certbot --apache -d yourstore.com -d www.yourstore.com

LiteCart Web Installer

Open https://yourstore.com/install/ in your browser. The installer runs a server requirements check — green checkmarks across all items means you're good to proceed.

Enter the database connection details: host localhost, database name, user, password. Set the store name, admin email and password. Choose the default language and currency.

The installer creates tables and populates the database with initial data. The whole process takes a few seconds — LiteCart is fast even during setup.

After completion, delete the install/ folder — mandatory for security:

rm -rf /var/www/litecart/install

Optionally rename the admin/ folder for extra security:

mv /var/www/litecart/admin /var/www/litecart/myadmin_2026

The admin panel is at /admin/ (or your renamed path): https://yourstore.com/admin/.

Configuring the Store

Core settings — Admin → Settings → Store. Name, email, country, currency, measurement units.

Languages — LiteCart ships with multilingual support. Under Admin → Localizations → Languages add the languages you need. A language switcher appears in the storefront automatically.

Currencies — Admin → Localizations → Currencies. Multiple currencies with fixed rates per currency — LiteCart supports independently set prices in each currency, not just auto-converted amounts.

Payment modules — Admin → Modules → Payment. Basic payment methods are included; extended ones (PayPal, Stripe, Mollie, Klarna, IBAN bank transfers) connect through paid add-ons from litecart.net.

Shipping — Admin → Modules → Shipping. Flat rates, weight-based calculation, free shipping thresholds. Carrier integrations available via add-ons.

vMods — Admin → Modules → vMods. Install downloaded add-ons and configure custom code modifications without touching core files directly.

SEO — Admin → Settings → SEO. LiteCart generates SEO-friendly URLs out of the box. Additional meta tags, canonicals, and sitemap settings are configured here.

Performance

LiteCart is fast by default — the architecture has no unnecessary layers. A few settings improve things further.

Enable OPcache in /etc/php/8.2/apache2/php.ini:

opcache.enable = 1
opcache.memory_consumption = 64
opcache.max_accelerated_files = 4000
opcache.revalidate_freq = 60

Compression is handled by the deflate module — confirm it's active: apache2ctl -M | grep deflate.

Page cache: LiteCart has built-in file cache. Enable it under Admin → Settings → Advanced. Keep it on for production.

Imagick over GD: already installed above. LiteCart auto-detects Imagick and uses it for image processing — correct WebP output, proper AVIF handling, and clean transparency support.

Choosing a VPS at THE.Hosting

LiteCart is one of the few platforms where Ferrum VPS with 1 vCPU / 1 GB RAM / 20 GB NVMe is genuinely sufficient for a small production store. For a store with up to 5,000 daily visitors, 2 vCPU / 2 GB RAM gives comfortable headroom.

For a store with a catalog of tens of thousands of products and active traffic — Standard VPS with 4 vCPU / 4 GB RAM / 80 GB NVMe.

European market: Germany (Frankfurt) — GDPR compliance, financial hub; Netherlands (Meppel) — best European internet connectivity; UK (London); France (Paris) — French-speaking audience.

Asian market: Japan (Tokyo) — lowest latency for East Asia; Hong Kong — gateway to China and Southeast Asia; South Korea (Seoul).

American audience: USA (New Jersey, Secaucus); Canada (Toronto); Brazil (São Paulo) — Latin America's largest market.

CIS and Eastern Europe: Moldova (Chișinău) — Dedicated servers available; Poland (Warsaw); Finland (Helsinki).

LiteCart on a VPS with an NVMe disk is an excellent match: the platform's I/O footprint is low, but a fast disk accelerates cache operations and image serving. Even on the most affordable tier, the store loads quickly.

Common Issues

403 or 404 after installation. The rewrite module is likely not activated or AllowOverride All is missing from the vhost config. Check: apache2ctl -M | grep rewrite. If missing — a2enmod rewrite && systemctl restart apache2.

Images don't upload or show artifacts. Confirm the images/ and data/ directories are writable by www-data. If Imagick shows transparency errors — verify the installed version: php8.2 -m | grep imagick.

WebP not being generated. Requires Imagick or GD compiled with WebP support. Test: php -r "echo function_exists('imagewebp') ? 'GD WebP OK' : 'No WebP';". If absent — confirm php8.2-imagick is installed and loaded.

Store doesn't open after removing /install/. Confirm the Apache config has AllowOverride All. Restart Apache: systemctl restart apache2.

CSV import cuts off. LiteCart 2.6.x supports resuming import after errors. For large files, increase max_execution_time to 300 and memory_limit to 256M in php.ini.

Ready to launch your store on LiteCart?

THE.Hosting VPS with NVMe drives is the right fit for a fast, lightweight LiteCart store. Minimal platform requirements mean you can start on the most affordable tier. Choose from 50+ locations closest to your audience.

Order VPS for LiteCart

FAQ:

Is LiteCart free? Yes, completely. Open-source under the LiteCart license — free for commercial use. Some add-ons (PayPal, Stripe, Mollie payment modules, IBAN transfers) are paid: prices range from $9.99 to $49.99 per year per module.

How many products can LiteCart handle? Officially unlimited. In practice: on a VPS with 2 GB RAM, a catalog of 50,000+ products runs without noticeable lag thanks to the lightweight architecture. LiteCart significantly outperforms PrestaShop and OpenCart on catalog page delivery under equivalent load.

What are vMods and why do they matter? vMods (Virtual Modifications) are a system for modifying core files without directly editing them. You describe what needs to change (insert code after a specific line, replace a fragment), and LiteCart applies those rules dynamically at runtime. When you update the platform, your vMods aren't overwritten — they live independently of the core version. This is the main advantage over direct core file editing.

Does LiteCart support Nginx? Yes, with additional configuration. You need to set up rewrite rules in the location block that mirror the .htaccess used in the Apache setup. The Nginx config for LiteCart is available in the official wiki.

How do I migrate from another platform? LiteCart officially supports Cart2Cart — an automated migration service. It transfers categories, products, manufacturers, customers, orders, and tax rates. Manual CSV import is also supported.

THE.Hosting Useful Links:

LiteCart Resources:

Other articles

31.03.2026
3
Knowledge base / All about domains
.MOBI Domain Zone
31.03.2026
3
Knowledge base / All about domains
.HOSTING Domain Zone
31.03.2026
4
Knowledge base / All about domains
.WEBSITE Domain Zone