Jump to content

BEST Server settings for Prestashop 1.6. tested in production


selectshop.at

Recommended Posts

Best server requirements for to run Prestashop 1.6. with more than 20.000 products and 3 mio attributes: For to have a flexible and better server features management and also the best speed for to work with Prestashop take a dedicated or a VPS root server. Managed servers in most of the cases don't have the possibility to make own changes needed on the server configuration.

  • magic_quotes_gpc = off
  • memory_limit = 512M
  • max_execution_time = 300
  • max_input_time = 300
  • upload_max_filesize = 20M
  • post_max_size = 20M
  • max_input_vars = 10000
  • allow_url_fopen = on
  • safe_mode = off
  • cURL = installed
  • mod_rewrite = installed and activated
  • mod_security = off
  • LINUX servers (Ubuntu, Debian, etc.)
  • cageFS or other FIREWALL deactivated, or if activated well configured to don't block Prestashop external services.
  • php 5.6.x + php-fpm + opcache (optimized - see below)
  • mySQL 5.5+

EDIT: As on latest PS versions over 1.6.11 Prestashop is forcing symfony for a better compliance on upgrades to PS 1.7. you should use php versions OVER 5.6.30* (best 7.0 or 7.1) and mySQL 5.7 or mariaDB 10 onwards.

 

Optimated opcache values:

opcache.revalidate_freq=0
opcache.validate_timestamps=0 (comment this out in your dev environment)
opcache.max_accelerated_files=7963
opcache.memory_consumption=192
opcache.interned_strings_buffer=16
opcache.fast_shutdown=1

 

In addition, it is important to have automatic permissions to create / change / delete folders and files (mod suExec / suPHP). Thus take care that all internal scripts and users (from inside the server) will have full access to folders and files automatically, while external accesses have read-only access, without the need to change these parameters manually.

* php 5.6.30, php 7.0 and php 7.1. are all end of life and not maintained anymore. This means that there will be no updates and also no security updates available. The best is to take newer php-versions in combination with newer PS-versions!!!

Releases php-versions

 

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...