durangod
08-05-2012, 09:16 PM
Hi, alittle background first:
I am on a new server and i did a phpinfo and it showed date.timezone as europe/moscow. I am in the USA and so is my host so i dont know whats up with that. When i notified my host they told me they changed it but that was two days ago and it is still showing moscow.
Now for what i did to try to fix this myself:
So what i did was i went into htaccess and used php_value to change the date.timezone to "America/Denver" which worked but it only changed the local value not the master value under DATE header in phpinfo.
I have done some reading and as i understand it, if you set the date.timezone in php.ini then it will change the master value, and then to change the local value you can use htaccess.
I did try to use this in php.ini to change the master value but it did not change.
date.timezone = "America/Denver"
i also tried
date.timezone = "US/Mountain"
Neither of these worked to change the master value, so my question is how do i change the master value, or can i?
I am on a new server and i did a phpinfo and it showed date.timezone as europe/moscow. I am in the USA and so is my host so i dont know whats up with that. When i notified my host they told me they changed it but that was two days ago and it is still showing moscow.
Now for what i did to try to fix this myself:
So what i did was i went into htaccess and used php_value to change the date.timezone to "America/Denver" which worked but it only changed the local value not the master value under DATE header in phpinfo.
I have done some reading and as i understand it, if you set the date.timezone in php.ini then it will change the master value, and then to change the local value you can use htaccess.
I did try to use this in php.ini to change the master value but it did not change.
date.timezone = "America/Denver"
i also tried
date.timezone = "US/Mountain"
Neither of these worked to change the master value, so my question is how do i change the master value, or can i?