PrestaShop System Requirements: PHP, Database, Server
PrestaShop publishes a short system requirements table for each major release, and it is worth reading literally. Most hosting problems are not exotic: they are a PHP version outside the band, an upload limit smaller than the file you were trying to install, or a memory setting that was never raised from the install default. This guide gives the official PrestaShop system requirements per release, explains what each one is actually for, and shows how to read the values your own server is serving rather than the ones you assume it serves.
The requirements table
These are the figures PrestaShop publishes for each major release, including legacy 1.7. Read the minimum and the recommendation as two different numbers: the minimum is the floor below which the shop misbehaves, and the recommendation is what the project points at for a store you care about.
| Store | Web server | PHP | Database | PHP memory_limit |
|---|---|---|---|---|
| PrestaShop 9 | Apache 2.4 or later | 8.1 minimum, 8.4 recommended | MySQL 5.7 minimum, MariaDB 10.2 minimum | 512 MB minimum |
| PrestaShop 8 | Apache 2.4 or later | 8.1 recommended (7.2.5–8.0 runs, unmaintained) | MySQL 5.7 minimum, MariaDB 10.2 minimum | 256 MB minimum |
| PrestaShop 1.7 (legacy, unsupported) | Apache 2.2 or later | 7.1 recommended; 1.7.8 runs 7.1–7.3 | MySQL 5.7 minimum | 256 MB minimum |
Two things in that table deserve a warning before you plan against it. PHP 8.1 reached end of life on 31 December 2025, and it is the documented minimum for both PrestaShop 8 and 9: running the documented minimum now means running an unpatched PHP. MySQL 5.7 and MariaDB 10.2 are both end of life as well, and they are the documented database minimums. The official position is that a recent version is recommended; treat every number in the table as a floor.
Apache 2.2 still works on PrestaShop 1.7 but the project does not recommend it, and it is not recommended for PrestaShop 8 or 9 either. If your host still offers it as a choice, that says something about the host rather than about your shop.
The PHP version column only tells you the target. The supported band per release, and what happens outside it, is a longer story — see PHP version compatibility for that table and for how to check what your store is running right now.
What each requirement actually controls
Requirements tables are read as a checklist. It helps more to know what each one changes when it is wrong.
Web server decides how PHP is invoked and which rewrite rules apply. Apache reads
.htaccess, which is where PrestaShop's clean-URL rules and most module redirects live.
On Nginx the same rules have to be written in the server configuration, or product URLs stop being
clean.
PHP version is a hard boundary, not a preference. PrestaShop installs a generated check that refuses to boot below the supported minimum — you get a blank page with an error rather than a partially working shop.
Database version matters because newer PrestaShop releases emit SQL that older servers cannot run. If your host drops the database version you are on, you cannot upgrade PrestaShop on that plan.
memory_limit is per PHP script, not for the server. It is the ceiling a single request can use before PHP stops it. Too low and a large import dies halfway. Too high, or left at -1, and one runaway script can exhaust server memory and get killed by the operating system, which takes the database down with it when both share a machine.
Two values worth checking on your own server
The two values below are real settings read from one server running two PrestaShop installs for this guide. They are not a scoreboard for the industry — they are a worked example of settings that look harmless until a large file or a runaway script hits them.
memory_limit set to -1 is not the same as having plenty of memory. -1 means unlimited: no ceiling on a single script at all. It is convenient and it is common on managed hosts. It also means there is no guardrail in front of a runaway import, a malformed loop in a module, or a script being abused after a compromise. The documented minimum exists to put a floor under that. Set a number — 512 MB for PrestaShop 9, 256 MB for 8 — rather than leaving the limit open.
upload_max_filesize of 2 MB is below what large packages need. On the same
server, upload_max_filesize is 2M and post_max_size is 8M — the stock
PHP defaults. A small module may still install; a theme or a translation pack is far more likely to be
over the limit. A file over the limit is not rejected with a usable error: the upload is truncated and
the installer reports a corrupt zip, or nothing happens at all. The two settings measure different
things: upload_max_filesize applies to each individual file, post_max_size
to the whole request body, which is why the second must never be the smaller of the two.
PHP extensions and php.ini values
PrestaShop needs these extensions present and enabled: cURL, DOM, Fileinfo, GD, Iconv, Intl, JSON, Mbstring, OpenSSL, PDO, PDO MySQL, SimpleXML and ZIP — thirteen entries in the official list. Most current distributions ship them enabled, but not all: Intl in particular is regularly absent from CentOS and RHEL packages, and a missing extension surfaces only once you move to a different host. Check them before you move, not after.
The php.ini values worth setting deliberately rather than inheriting:
memory_limit— 512M for PrestaShop 9, 256M for 8 and 1.7, and not -1.upload_max_filesize— 64M if you install modules or themes regularly.post_max_size— equal to or larger thanupload_max_filesize.max_execution_time— longer than the longest import you expect to run. A value of 0 means unlimited, which is fine on a dedicated server and a liability on a shared one.allow_url_fopen— must be On. The official list marks it as required, and payment modules that reach a gateway over HTTP stop working without it.
Two things are not in that list. Disk space does not appear in the requirements table because it depends on your catalog rather than on the release; count your product images, your theme and one full backup before you pick a plan. And cron is not a php.ini setting at all, but a PrestaShop store without a working cron job stops rebuilding its search index and stops running its scheduled tasks.
How to check your server's PHP, memory and upload limits
Ask PHP. One command prints the values the server is serving:
php -r "print_r(ini_get('memory_limit'));". Run it with the same PHP binary your site uses — the command line often loads a different php.ini from the one serving web requests. A hosting panel can show a different PHP version again from the one your shop actually runs on.Read the back office. Advanced Settings then Information shows the PHP version, the memory limit, the database version and the server software your shop really sees. If you run more than one shop on one server, remember each has its own requirements: multistore pitfalls covers what breaks once there is more than one.
Check what is missing. PrestaShop's installer validates system requirements before it will finish. To see the same picture on a live shop, the project's own tool
phppsinfo.phpreports your configuration in full — upload it, read it, and delete it afterwards, because it exposes your server's paths and versions.Confirm the database version yourself. Advanced Settings then Information shows it; query
SELECT VERSION();when you want the exact string the server reports rather than the shortened form on screen.Confirm an upload, do not assume one. Install a package after any php.ini change. A truncated upload looks exactly like a corrupt file, and it costs an hour if you assume the package is fine.
Verification
Read on 2026-10-04. Server figures come from the machine hosting our own PrestaShop 8 and PrestaShop 9 installs; the requirement table comes from PrestaShop's published documentation, read the same day.
From the two installs on our server:
- PHP runtime: 8.1.34 on the LiteSpeed binary, with every extension the official
list names present — cURL, DOM, Fileinfo, GD, Iconv, Intl, JSON, Mbstring, OpenSSL, PDO, PDO MySQL,
SimpleXML and ZIP.
- Database: MariaDB 10.11.19, above the documented 10.2 minimum.
- vendor/composer/platform_check.php on the PrestaShop 8 install requires
PHP_VERSION_ID >= 70205; on the PrestaShop 9 install it requires
PHP_VERSION_ID >= 80100. That generated check, not the back office, is what refuses to
boot an unsupported store.
- composer.lock on the PrestaShop 9 install records "php": ">=8.1" as the
platform requirement.
- Served ini values on both installs: memory_limit = -1,
upload_max_filesize = 2M, post_max_size = 8M — the two settings
described above.
From the official documentation, read 2026-10-04:
- Server requirements per release: web server, PHP, SQL and memory_limit minimums for
PrestaShop 9, 8 and 1.7, from the project's own
PrestaShop: required server configurations.
- PrestaShop 9 technical documentation:
https://devdocs.prestashop-project.org/9/basics/installation/system-requirements/.
- PHP version support per release:
PHP version compatibility on this
site, which carries the per-release supported band and the end-of-life dates.
- PHP end-of-life schedule, for the 8.1 warning above: php.net/releases/.
Not verified: how any specific hosting provider applies these values on your particular plan. Shared hosting varies between providers, so read the values from the server rather than from the provider's sales page.
Where to go next
The rest of the platform cluster:
FAQ
What are the minimum server requirements for PrestaShop 9? Apache 2.4 or later, PHP 8.1 minimum with 8.4 recommended, MySQL 5.7 or MariaDB 10.2 as a minimum, and a PHP memory_limit of at least 512 MB.
What are the PrestaShop 8 requirements? Apache 2.4 or later, PHP 8.1 recommended, MySQL 5.7 or MariaDB 10.2 minimum, and a PHP memory_limit of at least 256 MB. PHP 7.2.5 to 8.0 still runs but is no longer maintained.
Does PrestaShop work with Nginx? Yes. Apache is what the project documents, and it stays easier for shops that rely on .htaccess rules because Nginx does not read that file. On Nginx the same rewrite rules have to be written in the server configuration instead.
What PHP memory limit does PrestaShop need? The documented minimum is 512 MB for PrestaShop 9 and 256 MB for PrestaShop 8 and 1.7, per PHP script rather than for the server as a whole. Large catalogs and CSV imports need more, and a machine-wide figure tells you nothing: two shops on one server each get their own limit.
Why is my module or theme upload failing silently? Most often upload_max_filesize or post_max_size in php.ini, though a full disk or a temporary directory that cannot be written produces the same symptom. Both limits must exceed the package you are uploading, and post_max_size must be at least as large as upload_max_filesize.
Where can I see the requirements of my own store? In the back office under Advanced Settings then Information, which shows the PHP version, memory limit and server software. PrestaShop also ships a configuration check that reports the requirements your install does not meet.
Can I use MySQL 5.6 or an older MariaDB? No. PrestaShop documents MySQL 5.7 and MariaDB 10.2 as the minimums on PrestaShop 8 and 9. Both of those minimums have themselves reached end of life, so treat them as a floor and run a recently maintained release.
Do I need to raise these limits before or after upgrading PrestaShop? Before. PrestaShop 9 raises the documented memory minimum from 256 MB to 512 MB, so a host that exactly met the PrestaShop 8 requirement is below the PrestaShop 9 one.
About this guide
Written by Frank Kenedy, who runs PrestaSOO and fixes PrestaShop stores for a living. Last updated on 2026-10-04.
Was this page helpful?
Countdown x Bar
Xleft
Jump to Checkout
Accessibility Guard
SOO Agent Gateway
SOO Agent Catalog Tools
SOO Agent SEO Tools
GDPR
