Unable to update PHP config in Ubuntu 14.04

Hi! I need to use Ubuntu 14.04 in my build, but I need to define the date.timezone PHP config, actually my code is:

dependencies:
    override:
        - echo "date.timezone = UTC" > ~/.phpenv/versions/$(phpenv global)/etc/conf.d/date.ini

But seems that the ~/.phpenv folder does not exist, this works fine in Ubuntu 12.04.
There is a new way to archieve this in 14.04?

For ubuntu 14.04 you should change your directories like this:

dependencies:
    override:
        - echo "date.timezone = UTC" > /opt/circleci/php/$(phpenv global)/etc/conf.d/date.ini

Cheers!