Follow the steps given below on how to set timezone in php.iniStep 1: Create php.ini file under your website folder.Step 2: Change the default timezone settings by