I am running PHP builds in CircleCI 2.0 but so far I have been unable to modify the php.ini file in order to, for example, set a default timezone (otherwise the builds fail).
Running this command:
- run: echo “date.timezone = UTC” >> /opt/circleci/php/$(phpenv global)/etc/php.ini
Fails with the following error:
/bin/bash: phpenv: command not found
/bin/bash: /opt/circleci/php/$(phpenv global)/etc/php.ini: No such file or directory
Exited with code 1
How can this be achieved using the 2.0 builds?