Error "It is not safe to rely on the system's timezone settings" en PHP: ¿cómo solucionarlo?
¡Hola a todos! Acabo de empezar a estudiar PHP y me encontré con un error confuso al intentar mostrar la fecha actual. Escribo un script simple:
```php
```
Pero en lugar de la fecha, recibo una advertencia:
```
Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.
```
Estoy trabajando en un servidor local OpenServer, PHP versión 8.2. Intenté buscar en Google, pero los consejos varían: algunos dicen que edite php.ini, otros que agregue una función en el código. Díganme, ¿cómo configurar correctamente la zona horaria? ¿Dónde se almacenan estas configuraciones y qué zona horaria elegir para Moscú? ¡Gracias de antemano!
P.D.: Si es posible, explíquenme "en términos simples" qué es timezone y por qué es necesario.