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
Post a Comment