php.ini date.timezone issue #961
Unanswered
akagumo
asked this question in
Q&A / Help
Replies: 1 comment
-
The package does not set up a timezone in php.ini actually. It uses the default php.ini from the source. You can do that yourself. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
php 8.x is being strict about date.timezone.
the php.ini that is included with the package has the wrong date.timezone.
this date.timezone = “US/Pacific” is in the current php.ini
notice the depreciated US/Pacific and also the curly double quotes.
php's own site has a space, and php will error if there are any spaces so use underscore.
some were suggesting US, but US errors for me. https://www.php.net/manual/en/timezones.america.php
below is what works
date.timezone = "America/Los_Angeles"
Beta Was this translation helpful? Give feedback.
All reactions