[mythtv-users] Mythweb timezone question

Michael T. Dean mtdean at thirdcontact.com
Sat Nov 12 20:10:05 UTC 2011


On 11/12/2011 02:58 PM, Andrey Zhunev wrote:
>> I don't see a simple way to update the php itself, as I'm still
>> running a very old Fedora 13 (there's no newer packages available in
>> the repositories). But I'll take a closer look at PECL and will try
>> to update the timezone database from there. Hope it'll work, otherwise
>> I'd better take a risk to upgrade my Fedora to a newer release. :)
>
> Wooohoo! Just a short note in case someone gets into a similar
> situation and will find this thread:
>
> In order to use "pecl", I had to install PEAR and php-devel packages.
> On Fedora 13 it's just a:
>
> yum install php-pear php-devel
>
>
> Then I ran a command:
>
>
> pecl install timezonedb
>
>
> It downloaded and installed the latest version of timezonedb for me.
> I just had to edit /etc/php.ini to add a line:
>
> extension=timezonedb.so
>
> to "Dynamic Extensions" section (this seem to be important!).
> And I also put a proper timezone (it's Moscow in my case):
>
> date.timezone = Europe/Moscow
>
> After restarting Apache, I get proper time in MythWeb again!
>
>
>
> Mike, thanks a lot for your support!!!

Glad you got it working--and thank you also for the details of the 
process you used.  That may come in handy for someone else in the future 
(if nothing else, I'll be able to direct the next similar question to 
your post :).

Mike


More information about the mythtv-users mailing list