search

Home  >  Q&A  >  body text

Symfony2 When I accessed its web/config.php, it prompted me to set the date.timezone in php.ini.

Symfony2 When I accessed its web/config.php, it prompted me to set the date.timezone in php.ini. I set "Europe/Paris" to access again and the problem still exists. Find the solution! !

某草草某草草2867 days ago567

reply all(2)I'll reply

  • ringa_lee

    ringa_lee2017-05-16 16:47:34

    Have you restarted the php service? apache or nginx or php-fpm?
    Did you change the php.ini used by your Web?
    You can check the phpinfo in the symfony2 debugging information.

    reply
    0
  • 滿天的星座

    滿天的星座2017-05-16 16:47:34

    When running php-fpm, specify your modified php.ini php-fpm -c dir/php.ini

    reply
    0
  • Cancelreply