Server Configuration
PHP Error Display on Magento Check
Displaying PHP errors on a Magento production site exposes sensitive store information. Learn how to disable them to enhance security.
What this test checks
This test checks whether PHP errors are displayed publicly on your Magento store. Displaying errors in production reveals information like file paths, PHP versions, SQL queries, and sometimes credentials. This data facilitates targeted attacks and compromises your e‑commerce store security.
Our recommendation
Disable error display in production by setting 'display_errors' to 'Off' in your .htaccess or php.ini. For debugging, use Magento logs (var/log/) or an error monitoring service.
Security tests