PrestaShop hosting requirements for 8 and 9: PHP, MySQL, memory
· The AYT team · 8 min read

PrestaShop's hosting requirements depend on the version. PrestaShop 8 (8.0–8.2) runs on PHP 7.2.5 up to 8.1, with PHP 8.1 recommended, and needs a memory_limit of at least 256 MB. PrestaShop 9 needs PHP 8.1 or newer (9.0 goes up to PHP 8.4, 9.1 and 9.2 up to PHP 8.5) and at least 512 MB of memory_limit. Both need MySQL 5.7+ or MariaDB 10.2+ and the same 13 PHP extensions.
PrestaShop hosting requirements at a glance
| PrestaShop 1.7.8 | PrestaShop 8.0–8.2 | PrestaShop 9.0 | PrestaShop 9.1–9.2 | |
|---|---|---|---|---|
| Minimum PHP | 7.1 | 7.2.5 | 8.1 | 8.1 |
| Maximum PHP | 7.4 | 8.1 | 8.4 | 8.5 |
| Recommended PHP | 7.4 | 8.1 | 8.4 | 8.5 |
| Database | MySQL 5.7+ | MySQL 5.7+ / MariaDB 10.2+ | MySQL 5.7+ / MariaDB 10.2+ | MySQL 5.7+ / MariaDB 10.2+ |
Minimum memory_limit |
256M | 256M | 512M | 512M |
The source is the official developer documentation, the System requirements page (it has a version for 1.7, 8 and 9). The PHP limits are checked at install time: the PrestaShop 8.2 installer refuses anything above PHP 8.1, and the 9.2 installer anything below 8.1 or above 8.5.
PrestaShop 8 or 9 for a new shop
Both branches still get maintenance releases: PrestaShop 8.2.9 and 9.2.1 came out together in November 2026. The choice depends more on your modules and theme than on the server.
- Pick PrestaShop 9 if you are starting from scratch and the modules you need (payments, couriers, invoicing) already have versions for 9. It runs on maintained PHP versions and you won't face a major upgrade soon.
- Pick PrestaShop 8.2 if a module you depend on exists only for 8, or if you want the one-click install some hosting panels offer. Plan the move to 9 from the start.
Ask the developer of every paid module whether their version works on the branch you pick. On PrestaShop Addons, each module's page lists the compatible PrestaShop versions.
The PHP version
The PHP version is the requirement that blocks a shop most often, because the host picks it, not you.
PrestaShop 8 stops at PHP 8.1. The catch is that PHP 8.1 has had no security updates since 31 December 2025, according to the official PHP calendar. A shop on PrestaShop 8 therefore runs on a PHP version that is no longer maintained. It works, but it is a reason to plan the move to PrestaShop 9, which also accepts PHP 8.3–8.5, versions with security support until at least the end of 2027.
PrestaShop 9 does not start on PHP 7.x or 8.0. If your host only offers PHP 7.4, you can't install 9 at all.
A PrestaShop 1.7 shop is in a tighter spot: no 1.7 release runs on PHP 8. There is a separate article on which PHP versions work with PrestaShop 1.7 and what to do when your host drops PHP 7.4.
The database: MySQL or MariaDB
PrestaShop 8 and 9 need MySQL 5.7 or MariaDB 10.2 at minimum. The documentation recommends a recent version without naming one. In practice, any MySQL 8 or MariaDB 10.6+ server today meets the requirement.
The database user needs all privileges on its database: the installer creates the tables, and modules and upgrades change them.
The database grows faster than you'd expect. While the statistics module bundled with PrestaShop (statsdata) is active, the ps_connections and ps_connections_source tables get new rows on every visit, and ps_pagenotfound (if you have the pages-not-found module) on every 404. On a shop with traffic they end up as the largest tables in the database, even with only a few hundred products.
PHP extensions
The documentation asks for these extensions, without separating required from recommended:
curl,dom,fileinfo,gd,iconv,intl,json,mbstring,openssl,pdo,pdo_mysql,simplexml,zip.
Check intl (prices and dates formatted per language) and zip (installing modules from an archive, and upgrades) first. Without gd, PrestaShop can't generate product image thumbnails.
php.ini settings
Three settings matter at install time and in the first months:
memory_limit: at least256Mfor PrestaShop 8 and512Mfor 9. CSV imports, thumbnail regeneration and upgrades use more than serving a page.allow_url_fopen = On: the documentation calls it mandatory, among other things for payments. Payment and courier modules talk to external servers.upload_max_filesizeandpost_max_size: the documentation gives no value, but the official nginx configuration example uses 16 MB for a request body. If you upload module archives or large images, raise both to the same value.
max_execution_time has no required value. The default 30 seconds is enough for the shop; large imports and upgrades may need more.
The web server: Apache or nginx
PrestaShop runs on Apache 2.4 and on nginx. On Apache, friendly URLs (addresses without index.php?id_product=) come from the .htaccess file, which PrestaShop writes itself. nginx doesn't read .htaccess at all, so the rewrite rules have to go in the server configuration. The documentation has an nginx configuration example with the rules for images, the API and the admin folder.
If product pages return 404 after a move to nginx while the home page works, those rules are missing.
The documentation also says PrestaShop works best on Linux; Windows isn't actively supported.
Resources: RAM, CPU, disk space
PrestaShop publishes no minimum RAM, CPU or disk figures, and the documentation only says "the more the merrier". What uses resources, in order of impact:
- The number of product combinations (sizes × colours). A product with 50 combinations is heavier for the server than 50 simple products.
- Active modules. Each module can hook into every page.
- Concurrent traffic, especially during campaigns. Cart and checkout can't be served from a cache.
- Images. Each product photo is saved in several sizes, so
img/takes several times the space of the photos you uploaded.
For a small shop (under a few thousand products, ordinary traffic), a well configured shared hosting plan is enough. For campaigns with thousands of simultaneous visitors, look at the plan's PHP process and CPU limits as well as RAM.
How to check whether your hosting meets the requirements
- Before installing: the PrestaShop installer has a system compatibility step and stops if something is missing.
- On an existing shop: in the back office, under Advanced Parameters → Information, you see the PHP version, the database server and a list of configuration checks.
- In your hosting panel: the domain's PHP version and php.ini settings (
memory_limit,upload_max_filesize) are usually on the PHP settings page.

Frequently asked questions
Does PrestaShop 8 run on PHP 8.2 or 8.3?
No. The PrestaShop 8.2 installer refuses versions above PHP 8.1, and an 8.x shop moved to PHP 8.2+ can throw errors. For PHP 8.2 or newer you need PrestaShop 9.
Can I run PrestaShop on shared hosting?
Yes, if the plan meets the requirements above and lets you choose the PHP version. A VPS only makes sense with constantly high traffic or server needs shared hosting doesn't cover.
How do I find out which PrestaShop version I have?
In the back office, under Advanced Parameters → Information, the first block shows the PrestaShop version, next to the PHP version and the database server. Without back office access, the version is in app/AppKernel.php (the VERSION constant) on 1.7, and in src/Core/Version.php on 8 and 9.
Does PrestaShop need Redis or Memcached?
No. PrestaShop works without an object cache, and Memcached is optional. When it pays off is covered in the article on Redis and Memcached for PrestaShop.
PrestaShop on AYT hosting
AYT has a PrestaShop Toolkit in the panel. In "Create a New Domain" you pick PrestaShop as the app to install and get the latest 8.2 release, with the database created and the admin folder renamed. The installer runs on the PHP version chosen for the domain in the same form, under Advanced options → PHP version, so pick one that PrestaShop 8.2 accepts (7.2.5 to 8.1). With a newer one the install stops with an error and the panel deletes the database and files it started. You can change a domain's PHP version later on the PHP versions page, and memory_limit and the upload limit in the domain's php.ini editor. The panel's installer doesn't offer PrestaShop 9 yet, and PrestaShop version upgrades aren't done from the toolkit; the manual steps are in the PrestaShop install guide.
The web server is nginx, with a PrestaShop profile that sets the right rewrite rules and blocks sensitive files, so you don't need .htaccess. The toolkit also has pages for modules, security, settings, bin/console commands, staging, and a page cache in nginx. Redis is not offered for PrestaShop.
See what each plan includes on the hosting page and the app toolkits. If your shop is with another host, moving PrestaShop is free on paid plans, with cPanel, FTP or SSH access to your current hosting.
