| Home »
Categories
» Products » Nagios XI » Troubleshooting » Common Problems |
Turning Off PHP Notices and Deprecated Messages |
|
Article Number: 912 | Rating: 1/5 from 2 votes | Last Updated by bsmith on Fri, Oct 22, 2021 at 9:11 AM
|
Problem Description
There are PHP notices and deprecated messages filling up the /var/log/httpd/ssl_error_log file.
Resolving The Problem
This problem can be eliminated by updating the php.ini file. The advisory messages do not indicate a fatal error.
To determine the location of your php.ini file, execute the following command:
find /etc -name php.ini
If there are multiple results then the one in the apache directory is the one that needs changing.
The following entry in the php.ini file will disable those notices:
// Turn off Notices and Deprecated Warnings
error_reporting = E_ALL & ~E_DEPRECATED & ~E_NOTICE & ~E_WARNING
Remember to re-start Apache after making any changes.
systemctl restart httpd
Special Offer For Knowledgebase Visitors! Get a huge discount on Nagios Log Server by clicking below.
Did you know? Nagios provides complete monitoring of: Windows, Linux, UNIX, Servers, Websites, SNMP, DHCP, DNS, Email, Storage, Files, Apache, IIS, EC2, and more!
|
Posted by: rspielman on Wed, Oct 20, 2021 at 9:45 AM. This article has been viewed 6683 times. Filed Under: Common Problems |
|
Have a question? Try our Forums! | Give Feedback |
1 (2)
Article Rating (2 Votes)
Rate this article
|
| |
|
Attachments
There are no attachments for this article.
| Related Articles 
Nagios XI - Display All Scheduled Reports
Viewed 7024 times since Wed, Oct 12, 2016
Nagios XI - Scheduled Reports Not Running
Viewed 7727 times since Thu, Aug 10, 2017
Nagios Core - Failed to register iobroker
Viewed 9253 times since Wed, Sep 20, 2017
Nagios XI - Ajaxterm Installation Aborted
Viewed 6004 times since Tue, Jan 26, 2016
Nagios XI - Crashed Database Tables
Viewed 69675 times since Tue, Jan 27, 2015
API changes in Nagios XI 5.7
Viewed 5851 times since Tue, Feb 23, 2021
|
|