Description of the problem
I'm trying to set the date.timezone in my php.ini file (located in my /etc folder). I've done that and when I open it it clearly shows date.timezone = "Europe/Paris", however when I check symfony system requirements it gives me an error (see screen shot) saying it's not set, and when I check my php information it says "no value" for date.timezone.
Question
What is causing the date.timezone not to be updated?
What I've tried and screen shots
My first guess was that I maybe I'm modifying the wrong file? but in the php -i I get:
/etc /etc/php.ini :
php < project name >/bin/symfony_requirements :
Getting an error when I check for symfony requirements.
php -i :
Getting date.timezone => no value => no value when I check php information. why?
<?= phpinfo(); ?>
As you can see in the screenshot below, no there .ini files were found on the system.






php -ifrom the command line will tell you the location of the php.ini files used from the command line.... if you want to find thephp.inifile used by the web sapi, then run a script containing<?php phpinfo();from your browser