Home > linux > php > phpconfig > PhpDateTimeZone | About

Open your php.ini file (it should be in /etc/php5/apache2/php.ini if you're using debian or a debian derivative like ubuntu) and locate the [DATE] section, then simply

; Defines the default timezone used by the date functions                       
; http://php.net/date.timezone                                                  
;date.timezone =                                                                
date.timezone = Africa/Algiers

Check http://php.net/manual/en/timezones.php for available timezones.

contact : @ychaouche yacinechaouche at yahoocom

QR Code
QR Code phpdatetimezone (generated for current page)