on server i have php 5.3.2.
if i want to run simple php script, like this :
<?php echo date('Y'); ?>
...it gives me following errors:
Warning: date(): 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 /htdocs/index.php on line 9 Fatal error: date(): Timezone database is corrupt - this should never happen! in /htdocs/index.php on line 9
Timezone in php.ini is defined as Europe/London
I'm ALWAYS getting that error, despite I define or not date_default_timezone_set('UTC'), or Europe/London, or whatever...
I tried to edit /etc/init.d/httpd file, but i don't have permissions (due to selinux?)
please help...