Page 1 of 1

PHP Time not matching DB and Server Time

PostPosted: Fri Apr 08, 2011 5:12 pm
by thirdhatch
Vicibox Redux 3.1.5
Ver 2.4-306a
Build 110310-0311

In Real Time my agents are showing 180 minutes ahead of actual time logged in. This is the default start time.

I checked and PHP Time is set 3 hours ahead of DB and Server times. Not sure how to change this. Any help would be appreciated.

Thanks

PostPosted: Fri Apr 08, 2011 8:00 pm
by williamconley
Code: Select all
locate php.ini

then "nano" the php.ini file.
then find "timezone" and change it to match the timezone from your OS

PostPosted: Mon Apr 11, 2011 10:19 am
by thirdhatch
Thanks William. I assume that I will have to restart php once this is done? It has not changed just by adjusting the file as of yet.

I'm curious as to how this happened. I chose the correct timezone across the board when building these systems. Perhaps this is a bug in the build for 3.1.5?

PostPosted: Mon Apr 11, 2011 10:53 am
by williamconley
Yep.
Code: Select all
/etc/init.d/apache2 restart
and I do believe that 3.1.5 was in the zone when this issue was being "dealt with". 8)