PrestaShop is a popular online store platform in the EU with a serious presence in Croatia. Cheaper to maintain than Magento, more flexible than WooCommerce in some respects, but it has specific hosting needs that are often underestimated. This is a guide to what it needs.
For the plan, see PrestaShop hosting.
PrestaShop in brief #
- An open-source PHP online store, French in origin, popular in the EU.
- Versions: PrestaShop 1.7.x (legacy), 8.x (active), 9.x (new major).
- Native multi-store and multi-currency: solid for multilingual EU stores.
- A module marketplace with 5000+ extensions.
- A hooks system (PrestaShop's variant of WP filters/actions).
Technical requirements for PrestaShop 8.x+ #
| Component | Minimum | Recommended |
|---|---|---|
| PHP | 7.4 | 8.1 / 8.2 |
| MySQL/MariaDB | 5.6 / 10.4 | 8.0 / 10.11 |
| Apache/nginx | 2.4 / 1.18 | 2.4+ / 1.24+ with OpenSSL |
| RAM per PHP process | 256 MB | 512 MB - 1 GB |
| NVMe | 20 GB | 80+ GB |
Sizing by store size #
| Size | SKU | vCPU | RAM | EUR/month |
|---|---|---|---|---|
| Small | up to 200 | 2 | 4 GB | ~30-50 |
| Mid | 200-2000 | 4 | 8 GB | ~60-100 |
| Large | 2000-10000 | 6-8 | 16 GB | ~120-200 |
| Enterprise | 10000+ | 16+ | 32+ GB | 250+ |
PHP configuration for PrestaShop #
memory_limit = 512M
max_execution_time = 300
post_max_size = 64M
upload_max_filesize = 64M
opcache.enable = 1
opcache.memory_consumption = 256
opcache.max_accelerated_files = 20000
Caching #
PrestaShop has a built-in cache, but more serious work needs additions:
- Smarty template cache: built in, must be enabled in production.
- OPcache: critical for performance.
- Memcached or Redis for session and object cache (Smarty cache backend).
- Full page cache: through a module or Varnish in front.
- CDN for images (PrestaShop has native CDN support in its config).
Database optimisation #
PrestaShop has some notoriously slow tables (ps_product, ps_specific_price, ps_image_lang). Things that must be in place:
- The InnoDB engine for all tables.
innodb_buffer_pool_sizeat 30-50% of RAM.- Query cache disabled in MariaDB 10.4+ (deprecated, it hurts).
- An index on custom search queries for the product filter, if you use one.
Cron for PrestaShop #
PrestaShop uses cron for scheduled tasks (newsletter, inventory sync, abandoned cart):
0 */6 * * * cd /var/www/prestashop && /usr/bin/php modules/cronjobs/cron.php > /dev/null 2>&1
Multi-store and multi-language #
PrestaShop natively supports several stores on one instance (e.g. /hr/, /en/, /de/) with different catalogues. Hosting impact:
- More RAM (each store has its own cache).
- A bigger database (multi-currency conversion, translated content).
- Multi-domain SSL or a wildcard is needed.
Typical problems #
- A slow admin panel: often because of modules that load in the Back Office. Disable the unnecessary ones.
- A 500 error on product import: memory_limit and max_execution_time too low.
- Module incompatibility after an update: always test on staging first.
- SEO URLs not working: Apache mod_rewrite must be enabled, and .htaccess regenerated after changing the URL format.
Payment gateways (HR + EU) #
- Stripe (native module).
- PayPal (native module).
- Monri, Corvus, PBZ Card (Croatian PSPs): through a partner module or custom integration.
- Klarna, Sofort, Bancontact: native EU support.
Migrating from another host #
- Back up the full PrestaShop folder + a database export.
- Provision a new VPS.
- Upload + import the database.
- Update
app/config/parameters.phpwith the new DB credentials. - Regenerate the cache: delete
var/cache/. - Regenerate .htaccess through the Back Office.
- DNS switch.
PrestaShop on WMD hosting #
A smaller store runs on the START plan with us, and PRO is enough for most, with Redis for cache and a backup four times a day. We move a store from another host free of charge, and everything is described on the PrestaShop hosting page.
FAQ #
PrestaShop or WooCommerce? WC if you already work with WP. PS if you want a dedicated online store platform without WP overhead, with native multi-store.
PrestaShop or Magento? PS for up to 10k SKU, Magento for 10k+ or complications.
Can I run PS on shared hosting? Yes. A smaller store runs on the START plan with us, and PRO is enough for most.
Is PrestaShop 9 already production-ready? It is a recent major release and some modules do not support it yet. Check the compatibility of your critical modules before migrating.
Need PrestaShop hosting or a migration? Write the PrestaShop version and the number of products, and we will propose a plan. Get in touch through the contact form.