Skip to content

Timezone issue with newer PHP versions #6

Description

@mattpascoe

I just updated my RedHat Enterprise Linux server 6 ONA server to the latest version of PHP (5.3.3-22.el6), using the latest ONA and build_bind 1.5

I keep having the following errors fill up the apache error log, and it seems unhappy about something in the build_bind module.


PHP Warning: strtotime(): 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 'Asia/Jayapura' for 'CST/9.0/no DST' instead in /opt/ona/www/modules/build/build_bind.inc.php on line 394

I'm having to flush my logs out or it'll fill my /var to capacity, and tune PHP to show less errors.

I figure you can probably fix the issue though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions