System requirements for PrestaShop 1.7

PrestaShop needs the following server configuration in order to run:

  • System: Unix, Linux or Windows.
  • Web server: Apache Web Server 2.2 or any later version.
  • PHP: We recommend PHP 7.1 or later. See the compatibility chart below for more details.
  • MySQL: 5.0 minimum, 5.6 or later recommended.
  • Server RAM: The more the merrier. We recommend setting the memory allocation per script (memory_limit) to a minimum of 256M.

PrestaShop can also work with NGINX 1.0 or later.

PHP requirements

PHP compatibility chart

PHP Version
PrestaShop Version <= 5.1 5.2 5.3 5.4 5.5 5.6 7.0 7.1 7.2 >= 7.3
1.6.1.x No Yes Yes Yes Yes Yes Yes Recommended version No No
1.7.0 ~ 1.7.3 No No No Yes Yes Yes Yes Recommended version No No
1.7.4 No No No No No Yes Yes Recommended version No No
1.7.5 ~ 1.7.6 No No No No No Yes Yes Yes Recommended version No

Legend:

= Recommended version Yes = Supported No = Not supported

PrestaShop needs a few additions to PHP and MySQL in order to fully work. Make sure that your PHP configuration has the following extensions and settings configured:

Extensions

  • CURL. The Client URL extension is used to download remote resources like modules and localization packages.
  • DOM. The DOM extension is needed to parse XML documents. PrestaShop uses it for various functionalities, like the Store Locator. It is also used by some modules, as well as the pear_xml_parse library.
  • Fileinfo. The File information extension is used to find out the file type of uploaded files.
  • GD. The GD extension is used to create thumbnails for the images that you upload.
  • Intl. The Internationalization extension is used to display localized data, such as amounts in different currencies.
  • Zip. The Zip extension is used to expand compressed files such as modules and localization packages.

Settings

  • allow_url_fopen enabled. This directive enables PrestaShop to access remote files, which is an essential part of the payment process, among others things. It is therefore imperative to have it set to On.

Here is a section of the php.ini file (the configuration file for PHP):

extension = php_mysql.dll
extension = php_gd2.dll
allow_url_fopen = On
allow_url_include = Off