PHP Time not matching DB and Server Time

Support forum for the ViciBox ISO Server Install and ISO LiveCD Demo

Moderators: enjay, williamconley, Staydog, mflorell, MJCoate, mcargile, Kumba

PHP Time not matching DB and Server Time

Postby thirdhatch » Fri Apr 08, 2011 5:12 pm

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
thirdhatch
 
Posts: 96
Joined: Fri Jul 09, 2010 1:07 pm

Postby williamconley » Fri Apr 08, 2011 8:00 pm

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
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20019
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby thirdhatch » Mon Apr 11, 2011 10:19 am

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?
thirdhatch
 
Posts: 96
Joined: Fri Jul 09, 2010 1:07 pm

Postby williamconley » Mon Apr 11, 2011 10:53 am

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)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20019
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to ViciBox Server Install and Demo

Who is online

Users browsing this forum: No registered users and 296 guests