Tags
PHP
Asked 7 years ago
6 Oct 2017
Views 891
angeo

angeo posted

PHP Warning: for phpinfo() function for default timezone

My client give me window server with IIS .
i tried to create new php.ini file for development . and when i use phpinfo() i got this error


PHP Warning:  phpinfo(): It is not safe to rely on the system\'s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_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 \'UTC\' for now, but please set date.timezone to select your timezone. in C:\\inetpub\\wwwroot\\data.php on line 3
Post Answer