I have tried everything under the sun to enable the ability to run this command after installing Symfony2. 

> 
> php app/console cache:clear --no-warmup OR php app/console cache:clear
> 
> 
> 

I get this error every time: 

> 
> [ErrorException] Warning: date\_default\_timezone\_get(): 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. in /Applications/XAMPP/xamppfiles/htdocs/rt/vendor/jms/serializer-bundle/JMS/SerializerBundle/DependencyInjection Configuration.php line 66 
> 
> 
> 

On line 66: 

> 
> ->scalarNode('default\_timezone')->defaultValue(**date\_default\_timezone\_get**())->end()
> 
> 
> 

I've tried this Stack Post: 

> 
> [Warning: date\_default\_timezone\_get():](https://stackoverflow.com/questions/23162437/warning-date-default-timezone-get)
> 
> 
> 

I've tried to edit ALL php.ini files, phpinfo() for XAMPP shows: 

> 
> date/time support enabled
>  "Olson" Timezone Database Version 2013.4
>  Timezone Database internal
>  Default timezone UTC
> 
> 
> 

$ php --ini shows

> 
> Configuration File (php.ini) Path: /etc (I edited this one as well)
> 
> 
> 

php.ini shows

> 
> date.timezone = UTC
> 
> 
> 

I cannot run php composer.phar install without the ability to get past this stupid date\_default\_timezone\_set() error. 

Please help, its been 2 haggling days trying to get this fixed and I am at my wits end. 

Thanks!