`systemctl restart apache2.
running phpinfo i find the only way to change maxtimelife is changing the value in php.ini under php7.0 folder. changing value in advanced setting does nothing. I think adavaced settings changes config.php for freepbx, but this is not feed into php.ini.