Skip to content
Snippets Groups Projects
Commit 3556f998 authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg
Browse files

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
parent 4005427b
No related branches found
No related tags found
No related merge requests found
......@@ -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
--------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment