From 3556f998f68bbadba868f0c7bfc03fec956b0a4f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20=C3=85kre=20Solberg?= <andreas.solberg@uninett.no>
Date: Fri, 14 Aug 2009 09:07:15 +0000
Subject: [PATCH] Adding some documentation regarding how to set the default
 timezone in php.ini

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1664 44740490-163a-0410-bde0-09ae8108e29a
---
 docs/simplesamlphp-install.txt | 17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-)

diff --git a/docs/simplesamlphp-install.txt b/docs/simplesamlphp-install.txt
index 95ea91a32..b9e5f8777 100644
--- a/docs/simplesamlphp-install.txt
+++ b/docs/simplesamlphp-install.txt
@@ -167,12 +167,25 @@ file, `config.php`, right away:
 		'language.default'      => 'no',
 
 
-Configure PHP to be able to send e-mails
-----------------------------------------
+Configuring PHP
+---------------
+
+### Sending e-mails from PHP
 
 Some parts of simpleSAMLphp will allow you to send e-mails. In example sending error reports to technical admin, as well as sending in metadata to the federation administrators. If you want to make use of this functionality, you should make sure your PHP installation is configured to be able to send e-mails. It's a common problem that PHP is not configured to send e-mails properly. The configuration differs from system to system. On UNIX, PHP is using sendmail, on Windows SMTP.
 
 
+### Configuring time zone in PHP
+
+Some default installations of PHP does not include a timezone setting. The result is that a lot of warnings is thrown in the log files, which may be annoying. Therefore we reccomend to always set a timezone in the `php.ini` configuration file. In example like this:
+
+	[Date]
+	; Defines the default timezone used by the date functions
+	date.timezone = Europe/Oslo
+
+
+  * [List of Supported Timezones at php.net](http://php.net/manual/en/timezones.php)
+
 
 Enable modules
 --------------
-- 
GitLab