01 December , 2018

Cara Mengganti Default Time Zone di XAMPP ke Indonesia

Ribet gak sih kasih script date_default_timezone_set(“Asia/Bangkok”); di setiap lembar coding kamu hanya untuk set default timezone, ya mungkin kita bisa akalin pake include di php.
Tapi disini saya menawarkan cara yang lebih mudah, yaitu ganti default timezone di webserver kamu sendiri.
Karna saya user windows, maka kali ini saya kasih tutorial mengganti default timezone di xampp. ­čśÇ

Oke langsung saja berikut langkah-langkah nya:

  1. Cari file php.ini di C:\xampp\php\php.ini.
  2. Di dalam php.ini cari kata “date.timezone”.
  3. Default nya adalah ÔÇťdate.timezone = Europe/BerlinÔÇŁ, maka kita ganti dengan “date.timezone = Asia/JakartaÔÇŁ.
  4. Selanjutnya restart XAMPP.
  5. Untuk melihat perubahan sukses atau tidak saya buat 1 file php kosong dan saya isikan
    echo date_default_timezone_get();
  6. Berikut penampakan file tadi jika di jalankan, jika muncul Asia/Jakarta berarti perubahan kita berhasil.

sekian tutorial sederhana ini semoga memang bermanfaat. terima kasih.


Nurul Hidayat

Hello, saya adalah seorang software developer khususnya dibidang web. saya sangat menyukai Shell Scripting & Security semoga tulisan-tulisan kecil saya bisa bermanfaat.

You may also like...

30,606 Responses

  1. free casino games online play slots casino real money

  2. Samuelmycle says:

    play online casino free casino play slots

  3. Anthonypycle says:

    free online slots play casino slots play online casino

  4. Ahaa, its nice discussion concerning this post at this place at this website, I have read all that, so now
    me also commenting here.

  5. SharylAgozy says:

    best online casino free online slots world class casino slots

  6. Sidjex says:

    free casino play casino play slots online

  7. fun88 says:

    Hello, i believe that i saw you visited my weblog thus i
    came to return the want?.I am trying to to find issues to enhance my website!I suppose its adequate
    to make use of some of your ideas!!

  8. Have you ever thought about writing an ebook or guest authoring on other sites?
    I have a blog based upon on the same information you discuss and would love to have
    you share some stories/information. I know my visitors would appreciate
    your work. If you’re even remotely interested, feel
    free to shoot me an e mail.

  9. may88 says:

    Hey there! I know this is kinda off topic nevertheless I’d
    figured I’d ask. Would you be interested in trading links or maybe guest authoring a blog
    post or vice-versa? My site goes over a
    lot of the same subjects as yours and I feel we could greatly benefit from each other.

    If you happen to be interested feel free to shoot me an e-mail.
    I look forward to hearing from you! Terrific blog by the way!

  10. Carloshob says:

    online casino no deposit casino online casino slots

  11. Very neat blog article.Really looking forward to read more. Great.

  12. Thank you for sharing your info. I truly appreciate your
    efforts and I am waiting for your next post thanks once again.

  13. DiedraWap says:

    free casino slots online best online casinos

  14. Friends, I logged into this site yesterday, but my followers came after 12 hours, not 2 or 3 hours, I guess everyone is different??

  15. He came 1 hour after mine and Turkish is active.

  16. PatrickOpist says:

    free casino slot games online casino slots slots online

  17. Fantastic site you have here but I was curious about
    if you knew of any forums that cover the same topics talked about
    here? I’d really love to be a part of group where I can get feedback from other
    experienced individuals that share the same interest. If you have any suggestions, please let me know.
    Many thanks!

  18. Arkadaslar uygulama cidden ├žalisiyor sok ge├žiriyorum su an??

  19. Hazeldom says:

    gold fish casino slots online slot games slots games free

  20. I didn’t believe it, but it came, I was shocked, it came like 2 3 thousand

  21. I don’t know who is the admin but congratulations came after 3 hours my follower

  22. inanmiyordum ama g├Ârd├╝m

  23. Sevdigim ├žocugu stalkladigimi saniyordum megersem oda beni stalkliyormus hemen a├žiliyorum ­čÖé

  24. 1win login says:

    What’s Going down i am new to this, I stumbled upon this I have found It absolutely helpful and it has helped me out loads.
    I’m hoping to contribute & assist different users like its aided me.
    Good job.

  25. Jojobet says:

    hello, thank you for the useful content

  26. The data is real I guess because I guessed it turned out

  27. Stalkerlarimi G├Âr├╝nce ├žilgina d├Ând├╝m

Leave a Reply

Your email address will not be published. Required fields are marked *