Accéder au contenu principal

date.timezone

  1. Open your php.ini file with the File Manager in cPanel
  2. Add the following line of code to top of your php.ini file
    date.timezone = "US/Central"
  3. Replace "US/Central" with the timezone from here that corresponds to the time you want to display.
  4. Once you have entered the desired timezone, click the Save Changes button to save the file.
  5. Now, you can check your phpinfo.php page to verify the change took place.
    Before:After:
    timezone_3 timezone_4

Commentaires