phpDocumentor - timezone settings

Bij het genereren van de phpDocumentor documentatie onstaat deze fout :

Warning: strftime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /usr/lib/php/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/Smarty_Compiler.class.php on line 370

Er zijn verschillende manieren om de timezone settings te configureren :

php.ini :

; Defines the default timezone used by the date functions

date.timezone = "Europe/Amsterdam"

.htaccess :

php_value date.timezone Europe/Amsterdam

PHP Script :


Zie ook : phpDocumentor