TZ errors

Everytime that I login or logoff to/from a queue using to dial *45100 the following message appears:

php: /var/lib/asterisk/agi-bin/phpagi-asmanager.php[734]: date(): It is not safe to rely on the system’s timezone settings. Please use the date.timezone setting, the TZ environment variable 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 ‘America/Sao_Paulo’ for ‘BRST/-2.0/DST’ instead

But, I already have the TZ=‘America/Sao_Paulo’ adjusted in my /etc/profile and date.timezone = ‘America/Sao_Paulo’ in my /etc/php.ini.

Have anyone any idea?

Thanks a lot.