Hi,

I have setup an aegir platform ina LEMP stack (nginx, php-fpm 5.5 , maria db, drush 6.2)

Everything is working fine exempting i have a warning in many aegir tasks, I already had it durinh manual aegir installation.

"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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. hosting_site.drush.inc:254"

I tried to put date.timezone = "UTC" in the php.ini but same issue. It is frustrating to see a task not completed with the green color :( i prefer green than orange :)

Any idea ?

Thanks

Comments

helmo’s picture

Setting date.timezone = "UTC" in the php.ini should be the way to go... something new in php 5.5?

ergonlogic’s picture

You'll probably need to set your timezone in the CLI php.ini (at /etc/php5/cli/php.ini, or similar), since this is running in the Drush context.

That said, we should perhaps consider defaulting to UTC by calling date_default_timezone_set() in an init hook or something.

edodes’s picture

I just tested that and it is now ok. I was in fact in the CLI php.ini and not in the one under fpm directory. Thanks.

Aegir rocks :)

edodes’s picture

Status: Active » Closed (fixed)