Problems with symfony2 mac computer mamp installation
PHP中文网
PHP中文网 2017-05-16 16:44:06
0
1
349

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中文网

认证0级讲师

reply all(1)
Peter_Zhu

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

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template