Hello, I'm trying to install mediawiki 1.39.0-alpha to Windows Subsystem for Linux which using Ubuntu 22.04 LTS. PHP version is 8.1.6.
When I go to welcome page, I get an error message.
[179976b38d28bf9f842574bd] /w/mw-config/index.php Wikimedia\Timestamp\TimestampException: Wikimedia\Timestamp\ConvertibleTimestamp::setTimezone: Invalid timezone.
Backtrace:
from /var/www/html/w/vendor/wikimedia/timestamp/src/ConvertibleTimestamp.php(365)
#0 /var/www/html/w/includes/MWTimestamp.php(177): Wikimedia\Timestamp\ConvertibleTimestamp->setTimezone()
#1 /var/www/html/w/includes/specials/SpecialVersion.php(258): MWTimestamp::getLocalInstance()
#2 /var/www/html/w/includes/installer/WebInstallerWelcome.php(38): SpecialVersion::getCopyrightAndAuthorList()
#3 /var/www/html/w/includes/installer/WebInstaller.php(271): WebInstallerWelcome->execute()
#4 /var/www/html/w/mw-config/index.php(82): WebInstaller->execute()
#5 /var/www/html/w/mw-config/index.php(40): wfInstallerMain()
#6 {main}
It says "The environment has been checked. You can install MediaWiki.", but under this green text, the error message has appeared.
I changed vendor/wikimedia/timestamp/src/ComvertibleTimestamp.php to show current timezone setting (as told at Topic:Rl54p2aku969t0jc ), but it seemed current timezone setting is empty.
How can I solve this problem? I uploaded the screenshot at IMGBB. my server address is http://se-a.swa.re.kr/w/, but I'll shortly shut down the computer.