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.
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