php - Apache and Symfony date.timezone error -


i trying install symfony apache (ubuntu) error:

set "date.timezone" setting in php.ini* (like europe/paris) 

using phpinfo() in browser says configuration file in /etc/php5/apache2/php.ini modified wtih

date.timezone = "europe/paris" 

i modified file /etc/php5/cli/php.ini

i run php app/console cache:clear suggested in question fixing requirements in symfony2 no results. restarted server every time.

what else can try?

thanks!

please see david jacquel correct solution below !

i leave answer historical purposes...

in sf1, ran through , got fixed

date_default_timezone_set('europe/madrid');  

in bootstrap (that projectconfiguration.class.php).

in sf2 may modify web/app.php file insert same piece of code. bit hackyish, , running.


Comments

Popular posts from this blog

C# random value from dictionary and tuple -

cgi - How do I interpret URLs without extension as files rather than missing directories in nginx? -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -