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

  1. Edit the //apache/php/php.ini file.
  2. Change the following line:
    from:
    error_reporting = E_ALL & ~E_NOTICE & ~E_WARNING
    to:
    error_reporting = E_ALL & ~E_NOTICE & ~E_WARNING & ~E_DEPRECATED.
  3. Save the changes to the php.ini file.
  4. 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.
  • No labels