# PHP Logging

PHP logging can be set at the server level, or at the website level.

# Server Level PHP Logging

  1. Click Servers in the UI on the left hand side
  2. Click the server in the list that you wish to adjust the PHP logging settings on
  3. Click Application Role then click Settings
  4. Scroll down to PHP Settings and click Add Directive

The directives you will need to adjust (or add) are:-

error_reporting (opens new window)

error_log (opens new window)

log_errors (opens new window)

For example,

error_reporting = E_ALL
error_log = error_log
log_errors = 1