[Eisfair] Seit Umstellung auf php7 falsche Zeit in den Logs
Rolf Bensch
azubi at bensch-net.de
Mo Okt 7 09:24:30 CEST 2019
Hallo Olaf,
nur um auszuschließen, dass die Scripte selbst etwas an der TZ drehen
bitte nochmal:
<?php {
error_reporting(E_ALL);
$inipath = php_ini_loaded_file();
if ($inipath) {
echo 'Loaded php.ini: ' . $inipath."<br>";
} else {
echo 'A php.ini file is not loaded';
}
echo "<br>TZ ist: ".date_default_timezone_get();
echo "<br>".date('d.m.Y H:i:s', time())."<br>";
date_default_timezone_set('Europe/Berlin');
echo "<br>TZ neu: ".date_default_timezone_get();
echo "<br>".date('d.m.Y H:i:s', time());
}
Grüße Rolf
Mehr Informationen über die Mailingliste Eisfair