Open Gaprix opened 8 months ago
After compiling PHP, the time zone is set incorrectly
Warning: PHP Startup: Invalid date.timezone value 'MSK', using 'UTC' instead in Unknown on line 0
It's caused by https://github.com/pmmp/PHP-Binaries/blob/11db5a591309d0665a7a95890810ed53e7674673/compile.sh#L1250
cat /etc/timezone
This returns correct timezone for me (Europe/Moscow)
Not sure if this will work on macOS (or more esoteric *nixes)
Description
After compiling PHP, the time zone is set incorrectly
It's caused by https://github.com/pmmp/PHP-Binaries/blob/11db5a591309d0665a7a95890810ed53e7674673/compile.sh#L1250
Suggested solution
This returns correct timezone for me (Europe/Moscow)