Set PHP default timezone from system timezone
This enhancement was previously reported as bug #3016. We must set a reasonable value for
php.ini, in Server Manager, during the Timezone set up.
We are almost sure the value in
Timezone key is accepted also by PHP, but there can be some cases where it is not.
UTC is the ultimate default for such cases.
#2 Updated by Davide Principi almost 5 years ago
- Category set to nethserver-ntp
- Status changed from NEW to TRIAGED
- % Done changed from 0 to 20
- only php.ini template expansion
- no daemon restart
As the timezone set up occurs during post-install phase and before updates are downloaded, we don't care about httpd-admin restart here. A system reboot, or nethserver-httpd-admin-update event would fix the timezone settings in Server Manager.
#4 Updated by Davide Principi almost 5 years ago
- Status changed from ON_DEV to MODIFIED
- Assignee deleted (
- % Done changed from 30 to 60
Test case 1
Change the Timezone from Date and Time page. Check the prop php/DateTimezone changes accordingly.
Test case 2
Change the Timezone from First Configuration Wizard page. Check the prop php/DateTimezone changes accordingly.
NOTE (for both cases): if the system timezone is not considered a valid PHP setting, an ERROR message is sent to
/var/log/messages. If this happen the php/DateTimezone prop must be set to