Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 344967

Summary: ebuilds for php>5.3 should automatically include the timezone of the system
Product: Gentoo Linux Reporter: Timo A. Hummel <privat>
Component: New packagesAssignee: PHP Bugs <php-bugs>
Status: RESOLVED WONTFIX    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Timo A. Hummel 2010-11-10 18:42:42 UTC
When emerging a fresh copy of >php-5.3, the timezone is commented out in the configuration. It would be nice if we could get the timezone info from the system and put it into the configuration file.

Reproducible: Always
Comment 1 Ole Markus With (RETIRED) gentoo-dev 2010-11-11 08:16:28 UTC
This is a request we see every now and then. 

The PHP developers feel that it is unsafe to to rely on the systems timezone settings. Our current policy is to just follow upstream in this case. Thus it would be wrong to automagically set that parameter during install. Further, the error message that PHP emits is quite descriptive and leaves little doubt about what needs to be done.

We are open for discussion regarding this issue, but right now we don't have any safer way of setting the timezone settings automatically than what the PHP devs have explicitly banned.
Comment 2 Ole Markus With (RETIRED) gentoo-dev 2010-12-08 19:22:22 UTC
No discussion, so closing as wontfix. We are still open for discussion on this topic though.