Difference between revisions of "How to enable PHP Logging"

From support-works
Jump to navigation Jump to search
Line 19: Line 19:
 
# Change: ;error_log = filename to: error_log = "<installPath>\Hornbill\Supportworks Server\log\phperror.log"
 
# Change: ;error_log = filename to: error_log = "<installPath>\Hornbill\Supportworks Server\log\phperror.log"
 
(Note: the quotes around the file path are required!!!)
 
(Note: the quotes around the file path are required!!!)
Restart the SwHttpServer service
+
..Restart the SwHttpServer service

Revision as of 16:19, 31 January 2018



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)
  3. Change: error_reporting = Off to error_reporting = On
  4. Change: display_errors = On to display_errors = Off
  5. Change: log_errors = Off to log_errors = On
  6. Change: ;error_log = filename to: error_log = "<installPath>\Hornbill\Supportworks Server\log\phperror.log"

(Note: the quotes around the file path are required!!!) ..Restart the SwHttpServer service