How to enable PHP Logging

From support-works
Revision as of 16:04, 31 January 2018 by Nanette (talk | contribs)
Jump to navigation Jump to search



Status: Published
Version: 1.1
Authors: Hornbill Support
Applies to: All Versions of Supportworks


  1. Open <installPath>\Hornbill\Core Services\SwHttpServer\bin\php.ini
  2. Uncomment: error_reporting = E_ALL & ~E_NOTICE

(Remove the leading semi-colon)

  1. Change: error_reporting = Off to error_reporting = On
  2. Change: display_errors = On to display_errors = Off
  3. Change: log_errors = Off to log_errors = On
  4. Change: ;error_log = filename to: error_log = "<installPath>\Hornbill\Supportworks Server\log\phperror.log"

(Note: the quotes around the file path are required!!!)

  1. Restart the SwHttpServer service