date.timezone in php.ini for php5

My last post about glitch in time related function for php5 I use a functiondate_default_timezone_set

For global setting as always use date.timezone in php.ini

just change from :

;date.timezone =

uncomment it first by remove semicolon mark into this :

date.timezone = Europe/Istanbul

save php.ini files and restart apache

  • php ini timezone
  • php ini date timezone
  • date timezone php ini
  • timezone php ini
  • date_default_timezone_set php ini

Bir cevap yazın

E-posta hesabınız yayımlanmayacak. Gerekli alanlar * ile işaretlenmişlerdir

This site uses Akismet to reduce spam. Learn how your comment data is processed.