News:

SMF - Just Installed!

Main Menu

How to change PHP error reporting for a domain in Plesk

Started by Suhitha, Dec 03, 2025, 05:59 AM

Previous topic - Next topic

Suhitha

Applicable to:

  • Plesk for Linux

Question

How to change PHP error reporting for a domain in Plesk?


Answer

To modify PHP error reporting, change the value of the error_reporting directive at Domains > example.com > PHP Settings.

To enter a custom value, click on the field next to error_reporting and specify the error reporting constant. The full list of error reporting constants and their description see on this PHP manual page.

Note: Make sure that log_errors is set to on (Default).