How to enable PHP Logging: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 13: | Line 13: | ||
# Open <installPath>\Hornbill\Core Services\SwHttpServer\bin\php.ini | # Open <installPath>\Hornbill\Core Services\SwHttpServer\bin\php.ini | ||
# Uncomment: error_reporting = E_ALL & ~E_NOTICE | |||
(Remove the leading semi-colon) | (Remove the leading semi-colon) | ||
# Change: error_reporting = Off to error_reporting = On | |||
# Change: display_errors = On to display_errors = Off | |||
# Change: log_errors = Off to log_errors = On | |||
# Change: ;error_log = filename to: error_log = "<installPath>\Hornbill\Supportworks Server\log\phperror.log" | |||
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 |
Revision as of 16:04, 31 January 2018
Status: | Published |
---|---|
Version: | 1.1 |
Authors: | Hornbill Support |
Applies to: | All Versions of Supportworks |
- Open <installPath>\Hornbill\Core Services\SwHttpServer\bin\php.ini
- Uncomment: error_reporting = E_ALL & ~E_NOTICE
(Remove the leading semi-colon)
- Change: error_reporting = Off to error_reporting = On
- Change: display_errors = On to display_errors = Off
- Change: log_errors = Off to log_errors = On
- 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