The PrestaShop configuration file contains important settings used by your store, including database connection details and application configuration.
You may need to access this file after:
- Migrating a store to a new server
- Changing the domain name
- Restoring a backup
- Troubleshooting database connection issues
- Performing advanced configuration changes
Table of Contents
PrestaShop 1.5 and 1.6
For PrestaShop versions 1.5 and 1.6, the main configuration file is located at:
/config/settings.inc.php You can access this file after connecting to your hosting account via FTP or through your file manager.
PrestaShop 1.7
For PrestaShop version 1.7, the configuration file is located at:
/app/config/parameters.php This file contains the database connection settings and other core configuration parameters required for the store to operate correctly.
Before Making Changes
Before editing any configuration file:
- Create a backup of the original file.
- Verify that you are modifying the correct PrestaShop version.
- Save a copy of the existing configuration in case you need to restore it later.
Incorrect changes to the configuration file can prevent the store from connecting to the database or functioning properly.
Summary
The location of the PrestaShop configuration file depends on the version of the software being used. PrestaShop 1.5 and 1.6 store their configuration in /config/settings.inc.php, while PrestaShop 1.7 uses /app/config/parameters.php. These files can be accessed through FTP or a file manager and contain critical store configuration settings.