here´s an example with gc_maxlifetime
but it worked for none of the session.
variables I tried
<?php
session_start();
ini_set('session.gc_maxlifetime', 1500);
this used to work, until PHP 7.2.0 and now throws this warning:
Warning: ini_set(): A session is active. You cannot change the session module's ini settings at this time in /in/nOv0L on line 3
I checked the changelog but I can´t find the reason for it.
can anyone tell me what changed, and how I can work around it?
p.s. I know that I could do it like this:
ini_set('session.gc_maxlifetime', 1500);
session_start();
but that´s not really the point of my question.