date_default_timezone_get(): It is not safe to rely on the system's timezone settings

前端 未结 10 2150
悲哀的现实
悲哀的现实 2020-12-14 07:46

Can anyone tell me why am I getting this error when running app/console in a brand new formatted macbook with the latest MAMP installed ?

Warning: da

10条回答
  •  我在风中等你
    2020-12-14 07:58

    Default php.ini in OS X is located at:

    /private/etc/php.ini
    

    Anyway, you'll can either tell CLI php to load MAMP settings, or use an alias of MAMP command itself.

提交回复
热议问题