MeuMySQL Blog is now at

Monday, September 24, 2012

Instalando o Composer: Erro timezone

Bem, instalando o Composer em meu computador me deparei com a seguinte mensagem:

Some settings on your machine may cause stability issues with Composer.
If you encounter issues, try to change the following:

The date.timezone setting should be provided.
Add the following to the end of your `php.ini`:
    ; UTC here is an example, use your own timezone, see
    date.timezone = UTC


Composer successfully installed to: /home/user/composer.phar
Use it: php composer.phar

Para resolver acesse o php.ini do cli como abaixo:

shell> nano /etc/php5/cli/php.ini 

E procure a linha date.timezone adicionando algum favor:

; Defines the default timezone used by the date functions
date.timezone = 'America/Sao_Paulo'

Pronto, problema resolvido. =)

No comments:

Post a Comment