Why the PHP timezone is still wrong after setting the timezone environment variable

Solution Verified - Updated -

Issue

  • We inject timezone by the environment variable in our deployment, however, it is still wrong in our PHP 7.4(ubi8/php-74)

Environment

  • OpenShift Container Platform 3.x
  • OpenShift Container Platform 4.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content