2014-09-05, 09:06 PM
I'm not sure if I'm doing this right.
I created a php.ini file for the sole purpose of setting the timezone. I have the following content in that file:
I placed the file in my public_html
When I go into the "View PHP Info" section of my MyBB admin panel, it still says the old time zone. What am I forgetting or doing wrong? Is there something else I have to do in order to make the change accepted? Did I forget something in the file of the php.ini example above?
UPDATE: Looks like now it's giving an error saying US/Central is an invalid timezone and it's choosing UTC for now. How is US/Central invalid? Anybody know how I have to write the time zone if US/Central is considered invalid? Also, I tried America/Central and got the same error. From what I'm finding online when I search, these are correct values. Why the errors?
Invalid date.timezone value US/Central we selected the timezone 'UTC' for now
I created a php.ini file for the sole purpose of setting the timezone. I have the following content in that file:
[PHP]
date.timezone = "US/Central"
I placed the file in my public_html
When I go into the "View PHP Info" section of my MyBB admin panel, it still says the old time zone. What am I forgetting or doing wrong? Is there something else I have to do in order to make the change accepted? Did I forget something in the file of the php.ini example above?
UPDATE: Looks like now it's giving an error saying US/Central is an invalid timezone and it's choosing UTC for now. How is US/Central invalid? Anybody know how I have to write the time zone if US/Central is considered invalid? Also, I tried America/Central and got the same error. From what I'm finding online when I search, these are correct values. Why the errors?
Invalid date.timezone value US/Central we selected the timezone 'UTC' for now