Home  >  Q&A  >  body text

Problems with symfony2 mac computer mamp installation

I set the PHP version I am using in mamp to 5.6.10 and restarted it N times. There is no problem when printing php info(). The display is also correct. Why does the machine prompt that data.timezone cannot be found and is not configured?

My computer uses mamp to run other yii2 laravel5.1 and everything is normal. There is a problem with this installation. I am waiting online. I hope God can help.

PHP中文网PHP中文网2733 days ago339

reply all(1)I'll reply

  • 天蓬老师

    天蓬老师2017-05-16 16:46:06

    There are two php.ini (cli and fpm) that both need to set timezone. The phpinfo you see on the web page is fpm’s php.ini. You can check it under cli again

    reply
    0
  • Cancelreply