Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: crazybob on February 25, 2011, 01:40:03 AM
-
I am seeing complaints in the logs about setting the time zone for php. This has occurred since the last update which took me to php5.3. Is there a way to revert to php5.2?
-
Couldn't you just add php_admin_value date.timezone America/New_York to /etc/httpd/conf/httpd.conf, or date.timezone America/New_York to /etc/php.ini?
Valid PHP timezone values: http://php.net/manual/en/timezones.php
-
I have already tried your second solution, and sadly it did not work. Will try the first one and report back. :-)
-
I have already tried your second solution, and sadly it did not work. Will try the first one and report back. :-)
Did you make sure you restarted your webserver before you retried? PHP configuration changes are only read on a webserver restart.
-
I did a apachectl restart.
-
I did a apachectl restart.
That is not the proper SME Server way to restart your webserver, not even sure that it will actually restart the webserver, next time please use:
sv t httpd-e-smith
-
That did not help either. There is a bug Bug 6467 open on this issue, but no resolution at this point.