To change default timezone in shared hosting, it must be done from the .htaccess located in the FTP root; inside the "public HTML" folder.
This file is usually hidden, I should put it as visible from the configuration of the file manager in the CPanel.
The instruction that I must place in the .htaccess:

For example:
php_value date.timezone "America / Argentina / Buenos_Aires"



The instruction must be outside the "Module":



<IfModule php5_module>

 
</ IfModule>
php_value date.timezone "America / Argentina / Buenos_Aires"




Was this answer helpful? 0 Users Found This Useful (0 Votes)