My Apache Webserver had not timezone correct. If I wanted timezone correct, I had to do some configuration on Apache Webserver. But how to do this?
To change timezone on my Apache Webserver, I followed the next steps:
- Type sudo nano /etc/php5/apache2/php.ini;
- Search for "date.timezone" and modify to "date.timezone="Europe/London" or to your timezone;
- Save the file and exit using CTRL+X;
- Type sudo /etc/init.d/apache2 restart
To see what is your timezone, check this website
At the moment, my operating system was Ubuntu 11.10 and Apache Webserver was 2.2.20!
No comments:
Post a Comment