Wednesday, October 31, 2012
Wednesday, October 17, 2012
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?
- 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!