Our company opens in about 1 hour at 09:00 UK time. Send your request now and we will review it when we are back.

OpenCart Hosting Requirements

Learn the best hosting specifications for your OpenCart online store

Why is proper hosting important?

Choosing the appropriate hosting environment for your OpenCart store is crucial for its success. An inappropriate hosting can lead to:

  • Slow loading times and poor user experience
  • Often unavailability of the store
  • Compatibility problems and extensions errors
  • Increased risk of security violations
  • Lower ranking in search engines

System Essential Requirements

OpenCart has specific system requirements for its proper operation. Minimum requirements vary according to the version of OpenCart:

Requirements per OpenCart version

OpenCart version PHP MySQL/MariaDB Web Server
OpenCart 4.x 8.0 or later 5.7+ / 10.3+ Apache 2.4+ / Nginx 1.18+
OpenCart 3.x 7.3 - 8.0 5.5+ / 10.1+ Apache 2.4 / Nginx 1.14+
OpenCart 2.x 5.6 - 7.3 5.5+ Apache 2.2+

Important!

We suggest that you always use the latest and fixed versions of the above systems supported by your OpenCart version, not just the minimum requirements.

PHP Settings

In addition to the PHP version, it is important to have the appropriate settings and extensions:

Required PHP extensions:

  • curl
  • zip
  • zlib
  • gd / imagick
  • mcrypt (for older versions)
  • mbstring
  • xml
  • mysqli / pdo_mysql

Recommended PHP settings:

# Minimum recommended values ​​for php.ini memory_limit = 128M (256M+ recommended for large stores) upload_max_filesize = 20M post_max_size = 20M max_execution_time = 300 max_input_vars = 5000

Attention!

The low price for max input vars can cause problems in storing products with many features or categories with many products.

MySQL/MariaDB Requirements

For optimal performance of OpenCart database:

Recommended settings:

  • Use InnoDB as a storage machine
  • Character set: utf8mb4 and collation: utf8mb4_unicode_ci
  • Adequate storage space available (depending on the size of the product list)
# Example MySQL settings for middle store innodb_buffer_pool_size = 256M max_connections = 100 query_cache_size = 64M tmp_table_size = 64M max_heap_table_size = 64M

Server Resources

The resources required depend on the size of the store and the traffic:

Recommended resources by store size

Store Size CPU RAM Space Monthly Bandwidth
Small
up to 1,000 products
1-2 cores 2GB 10GB 50GB
Medium
1,000-10,000 products
2-4 cores 4GB 20GB 100GB
Large
10,000+ products
4+ cores 8GB+ 50GB+ 250GB+

Seasonal fluctuations

For seasonal sharp shops (e.g. Black Friday), it is recommended that you have infrastructure that can be scaled to manage increased traffic.

Types of Hosting

There are different types of hosting that suit different needs:

Comparison of hosting types:

  • Shared Hosting: Low cost, limited resources, suitable only for small shops with low traffic
  • VPS (Virtual Private Server): Dedicated resources, good cost/performance balance, suitable for medium stores
  • Dedicated Server: Highest cost, full control, suitable for large shops with high traffic
  • Cloud Hosting: Flexible and step-by-step payment based on use, suitable for shops with variable traffic
  • Managed OpenCart Hosting: Specialized support, optimized for OpenCart, higher cost

Attention!

Avoid very cheap shared hosting packages for professional stores. They often have hidden limitations and can cause issues as your store grows.

Security Requirements

Security is critical for each online store:

Basic safety requirements:

  • SSL Certificate (HTTPS) - required for all e-commerce sites
  • Regular backups (daily proposed)
  • Firewall (ModSecurity or other WAF solution)
  • Malware scanning and protection
  • Regular Software Updates (PHP, MySQL, OpenCart)
  • Isolated PHP facilities (PHP-FPM)
# Example of security settings .htaccess # Protecting the file config.php <Files config.php> Order deny, allow Deny from all </Files> # Disable Options -Indexes directory

Do you need help with the hosting of your store?

OpenCart Greece offers assessment, migration, and optimization services for your online store.

Discover our services