Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] DST Changes (Debian/PHP?)


Hi Greg,

Greg Cockburn wrote:
> Main applications that seem to have problems:
> 
> mythweb (mythtv)
> nagiosQL

I got this from the mythtv-users list and it worked for me (with mythweb
atleast)

-- 
dave.

-------- Original Message --------
Subject: Re: [mythtv-users] Aussies.. [Fwd: Fedora Update:
tzdata-2008b-1.fc7]
Date: Sun, 30 Mar 2008 21:14:41 +1100
From: Nick Tan <nick.tan@xxxxxxxxx>
Reply-To: Discussion about mythtv <mythtv-users@xxxxxxxxxx>
To: Discussion about mythtv <mythtv-users@xxxxxxxxxx>
References: <47EF5B80.8040600@xxxxxxxxxxxxxxx>

I found also that even though my system had the correct timezone,
mythweb was still out by 1 hour.  Forcing the timezone in php.ini
didn't help - I needed to update the internal php timezone database
manually:

Get an updated timezonedb from http://pecl.php.net/package/timezonedb

Make sure php-devel is installed (I'm using CentOS 5 so I needed the
php-devel rpm).

Untar the file you just downloaded and cd into the directory

# cd timezonedb-2008.2
# phpize
# ./configure
# make
# make install

Edit /etc/php.ini and add:

extension=timezonedb.so

After restarting apache, mythweb was showing the correct time.
_______________________________________________
mythtv-users mailing list
mythtv-users@xxxxxxxxxx
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users