Hey everybody, just stopping by to drop a note for those who are interested and are running PHP 5.3 on their dev boxes, that the subversion repo for the in-development v1.7.2 has been updated for compatibility with PHP 5.3.0.
If you encounter any issues, feel free to post them to this thread, or to the bug forum / tracker dropping a note here.
Maybe it wouldn’t be a bad idea to put news on the website so people won’t get the impression that CodeIgniter was left behind and the team doesn’t care about the big leap in the PHP world (PHP 5.3).
I made php 5.3 upgrade and became with several warnings and errors, but surfing here on the CI foruns and SVN repo I am able to fix most of them. But I’m getting one that can’t deal with:
A PHP Error was encountered
Severity: Warning
Message: date() [function.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/London' for '1.0/DST' instead
I made php 5.3 upgrade and became with several warnings and errors, but surfing here on the CI foruns and SVN repo I am able to fix most of them. But I’m getting one that can’t deal with:
A PHP Error was encountered
Severity: Warning
Message: date() [function.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/London' for '1.0/DST' instead
Filename: helpers/date_helper.php
Line Number: 94
Please help.
Best Regards
The correct way to solve this is to add the date.timezone directive to your php.ini file.