Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

php.ini date.timezone issue#961

Unanswered
akagumo asked this question inQ&A / Help
Discussion options

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"

You must be logged in to vote

Replies: 1 comment

Comment options

The package does not set up a timezone in php.ini actually. It uses the default php.ini from the source.
https://github.com/Homebrew/homebrew-core/blob/master/Formula/php.rb#L217

You can do that yourself.

You must be logged in to vote
0 replies
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Labels
None yet
2 participants
@akagumo@shivammathur

[8]ページ先頭

©2009-2025 Movatter.jp