How to set error_reporting option in PHP settings page

Created:

2016-12-12 03:42:22 UTC

Modified:

2017-08-16 16:16:26 UTC

0

Was this article helpful?


Have more questions?

Submit a request

How to set error_reporting option in PHP settings page

Applicable to:

  • Plesk 11.x for Linux
  • Plesk 12.0 for Linux

Question

How to set error reporting for a domain in Plesk?

Answer

In Plesk 12.0 and later, go to Domains > example.com > PHP Settings

In Plesk 11.5 and earlier, go to Domains > example.com > Customize > PHP Settings

The following options can be set in regards to PHP error reporting:

  1. error_reporting:

  2. E_ALL will report all errors

  3. ~E_ALL will not report any errors
  4. E_ALL & ~E_NOTICE & ~E_WARNING will not report notices and warnings
  5. E_ALL & ~E_NOTICE will report all errors except E_NOTICE

  6. display_errors (On/Off)

  7. log_errors (On/Off)

Additional information

For more information about PHP error reporting, go to: http://www.php.net/manual/en/errorfunc.constants.php

Have more questions? Submit a request
Please sign in to leave a comment.