Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Time zone php error log file

I do not understand why the time zone on my php error log file is different than php.ini file. So for example I receive this:

[10-Dec-2014 15:50:54 UTC] PHP Notice:

where my time is 07:50 UTC

Can somebody point me on the right direction?

Thank you

like image 996
cadobe Avatar asked Dec 01 '25 14:12

cadobe


1 Answers

Have you tried setting: date.timezone = "YOUR TIMEZONE" in your php.ini file?

Additionally at times it can be difficult to locate your php.ini file. You can find it by looking at

<?php
phpinfo();
?>
like image 54
Jonathan Wheeler Avatar answered Dec 04 '25 06:12

Jonathan Wheeler



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!