php settings in php.ini
:
date.timezone = Asia/Jerusalem.
My Linux server (Ubuntu) shows the correct time:
Change the php timezone:
1) Open the php.ini file - vim /etc/php.ini
2) Change the default timezone settings by adding/modifying this line:
date.timezone = Asia/Jerusalem
- remove the ;
at the first of line (if exists)!
3) Save the php.ini file.
4) Restart the Apache server - systemctl restart httpd.service
.
The timezone settings should now be modified.