We upgraded PHP from 5.6 to 7.2.
The upgrade went fine, we checked the php.ini to sync the different parameters.
However now or ssl_error_log is filling up with these messages:
[Fri May 08 09:46:27.238751 2020] [php7:warn] [pid 2003:tid 140395904202496] [client 1.2.3.4:9703] PHP Warning: session_name(): Cannot change session name when session is active in /usr/local/nagiosxi/html/includes/utils.inc.php on line 84, referer: https://nagiosxi.anonymous.nl/nagiosxi/
I anonymised the IP and URL in the message
can you please help me getting this fixed?
kind regards,
Joris Weijters
ssl_error_log: PHP Warning: session_name(): Cannot change
Re: ssl_error_log: PHP Warning: session_name(): Cannot chan
Looks like this is what's occurring:
https://stackoverflow.com/a/47731428
I will need to submit this to development.
If you want to get rid of the warnings, edit your /etc/php.ini and add this to the end of your error_reporting value:
Then restart apache:
https://stackoverflow.com/a/47731428
I will need to submit this to development.
If you want to get rid of the warnings, edit your /etc/php.ini and add this to the end of your error_reporting value:
Code: Select all
& ~E_NOTICE & ~E_WARNINGCode: Select all
service httpd restart