Jump to content
selectshop.at

BEST Server settings for Prestashop 1.6. tested in production

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.

 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More