Example log messages:
[02-Jun-2021 14:29:51] PHP Deprecated: Function split() is deprecated in C:\\Program Files\\uptime software\\uptime\\GUI\\classes\\protocol\\ProtocolParser.inc on line 30 [02-Jun-2021 14:29:51] PHP Deprecated: Function split() is deprecated in C:\\Program Files\\uptime software\\uptime\\GUI\\classes\\protocol\\ProtocolParser.inc on line 30 [02-Jun-2021 14:29:51] PHP Deprecated: Function split() is deprecated in C:\\Program Files\\uptime software\\uptime\\GUI\\classes\\protocol\\ProtocolParser.inc on line 30
These messages have no functional impact on Uptime Infrastructure Monitor operation.
To suppress these deprecated entries from the php log
- Edit the
//apache/php/php.ini
file. - Change the following line:
from:error_reporting = E_ALL & ~E_NOTICE & ~E_WARNING
to:error_reporting = E_ALL & ~E_NOTICE & ~E_WARNING & ~E_DEPRECATED
. - Save the changes to the php.ini file.
- Restart the Uptime Infrastructure Monitor httpd / web server service to apply the change. After the web server has restarted, tail the php log to verify the change.