Plesk

How to change PHP error reporting for a domain in Plesk

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).

Exit mobile version