Timezone not set

Starting yesterday after enabling http/2 we started getting validation errors on the timezone not being set in php.ini, but only through the GUI (CLI validation checks pass). In each php.ini under /etc/php/7.2/ the timezone is set as

date.timezone = US/Central

And this was working fine till I enabled http/2. Tried disabling http/2 but the validation failure still exits.