Symfony Default timezone doesn't want to work if changed
<p>At the moment i am trying to make a symfony app, but it gave me an error and couldn't start it's server when using the server:run command. It said that it couldn't run because of the timezone. If I change the timezone in the default php.ini file on a mac, it still gives me the error:</p>

<p>[Symfony\Component\Debug\Exception\ContextErrorException]<br>
  Warning: date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are <em>required</em> to use the date.timezone setting or the date_default_timezo<br>
  ne_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone<br>
  'UTC' for now, but please set date.timezone to select your timezone.</p>

<p>Can someone help me? I tried a lot, but can't figure this one out. </p>

<p>I want to change the timezone in the php.ini file that is being used by Symfony. But i don't know what i am doing wrong.</p>