Plesk for Linux
kb: how-to
ABT: Group B
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).
Comments
1 comment
Errors are still displaying after changes on Domains > example.com > PHP Settings (v7.3.27)
error_reporting = 0 (not working)
error_reporting = off (not working)
log_errors = off
I have also made changes on .httaccess adding: php_flag display_errors off
but then I get an ERROR 500.
Please sign in to leave a comment.