diff --git a/docs/simplesamlphp-install.txt b/docs/simplesamlphp-install.txt index 95ea91a32bc4ebba665952edc2518f308f9854ba..b9e5f8777538c76937d536d5e24f859be62bf5a9 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 --------------