Menù

Essential Configuration Requirements for PrestaShop Website Before Upgrading

Before upgrading your PrestaShop website using the "Direct Upgrade" module, it is crucial to ensure your site meets the necessary configuration requirements. This guide will help you prepare your site for a seamless upgrade process.

1. Upgrade Options

1.1. PrestaShop Version

Depending on your current version, the Direct Upgrade module provides options to upgrade your website to the latest PrestaShop versions. Here’s an example:

If your website is currently running on PrestaShop version 1.7.3, the module will offer the following upgrade options:

  • Upgrade to the latest PrestaShop 1.7 version
  • Upgrade to the latest PrestaShop 8.0 version
  • Upgrade to the latest PrestaShop 8.1 version
  • Upgrade to the latest PrestaShop 8.2 version

 

1.2. Server Performance

We recommend choosing "Medium" or "Low" based on your server's capability to ensure a smooth upgrade.

Select "High" only if you are using a dedicated server. A high value may cause the upgrade to fail if your server is not powerful enough to handle the tasks quickly.

 

1.3. Options for Upgrading Modules and Themes

  • Disable non-native modules
  • Upgrade the default theme
  • Switch to the default theme

You can only enable/disable these three options if you upgrade from your current minor version to the latest minor version (e.g., PrestaShop 8.0.1 to PrestaShop 8.0.4). The module will automatically disable these options if you upgrade from your current version to the latest major PrestaShop version (e.g., PrestaShop 8.0.4 to PrestaShop 8.2.0).

 

1.4. Backup Options

If your server has limited storage, do not enable the 2 backup options in the module: "Back up my files and database" and "Back up my images". Automatic backups can be time-consuming and may exceed your server's capacity.

If you disable these automatic backup options, perform manual backups. Ideally, create a copy of your site and perform the upgrade on the dev site (copy site) first.

 

2. Server Configuration Requirements

2.1. PHP Version

  • For PrestaShop 1.7: Minimum PHP version required is 7.1.33.
  • For PrestaShop 8.0: Minimum PHP version required is 8.1.

This is PrestaShop’s configuration requirement, not the module’s, so please ensure your website meets this requirement before proceeding with the upgrade.

 

To check your current server configuration, navigate to "Configure >> Advanced Parameter >> Information". If your website does not have the appropriate PHP version, a popup will prompt you to change it before you can proceed with the upgrade.

 

2.2. Memory Limit

Recommended: At least 1GB.

 

2.3. Max Execution Time

Recommended: At least 300 minutes. (File uploads can take a significant amount of time, so setting a longer execution time helps ensure the upgrade process completes without errors.)

 

Note: The preparation process for multi-store setups is similar to the above. Simply select "All Shops" before upgrading and proceed as usual.

 

By ensuring your PrestaShop website meets these configuration requirements, you can confidently proceed with the upgrade process. Proper preparation will help prevent potential issues, making the upgrade smooth and successful. Make sure to check all the necessary settings and perform backups to safeguard your data before starting the upgrade. Happy upgrading!

Conteggio visualizzazioni articolo: 182 visualizzazioni