Monday, April 2, 2012

Date Timezone Problem in Unix(BSD) Server

Case: System cannot login OR Timezone Error in application.

Solution:

  1. # cd usr/local/etc/
  2. ee php.ini
  3. Search keyword: date.timezone
  4. Read reference setting:  http://www.php.net/manual/en/timezones.asia.php
  5. Change / add timezone
     date.timezone = "Asia/Kuala_Lumpur"
  6. Checking date in server
    #date

  7. if not same you have to setting up using this command
    #ntpdate asia.pool.ntp.org
  8. Restart APACHE service
    #/usr/local/etc/rc.d/apache22 restart




1 comments:

llogiea said...

Find the happy hours that serve actual Salina & IT Mind for hors devors.
I always had a backpack and found the smaller bathrooms
with one stall and or ones that you could lock the Salina & IT Mind and stole all my
tp for the whole time I was in wife-of-different-time-zone. Never take all the paper leave one
roll so no one gets suspicous,. Yeah it was the Salina & IT Mind-of-different-time-zone but it was still free and with the price now days for toilet paper
I may have to start finding places to steal it again..
Timezone Gallery

Post a Comment