Server Configuration
PHP Error Display on PrestaShop Check
Displaying PHP errors on a PrestaShop production site exposes sensitive information. Learn how to disable them to enhance store security.
What this test checks
This test checks whether PHP errors are displayed publicly on your PrestaShop site. Displaying errors in production reveals information like file paths, PHP versions, SQL queries, and sometimes credentials. This data facilitates targeted attacks and compromises your store security.
Our recommendation
Disable error display in production by setting _PS_MODE_DEV_ to false in your config/defines.inc.php. For debugging, use a log file configured in PrestaShop advanced settings. Also ensure display_errors is Off in your php.ini.
Security tests