What did system change yesterday ?

Avatar
  • Answered
My webmail system working under my public_html folder. It is working everyday. Today, 18/7/2013, I found error come out. I think there must be some changes in system setting. You can see the errors yourself.

Warning: eregi() [function.eregi]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead in /home/globei5/public_html/wmail/functions/imap_general.php on line 660

Please suggest what should I do.
Avatar
JacobIMH
Hello paulyu, and thanks for your question. Our senior system administration team did upgrade the version of PHP on the server, and while doing this it updated the system-wide php.ini file and this didn't include the required date.timezone setting of the newer version. In order to resolve this problem for you, I simply edited your /public_html/.htaccess file to revert back to PHP 5.2 which it looks like is what was used previously:

# Use PHP52 as default AddHandler application/x-httpd-php52 .php

If you're still having any issues at all, please let us know! - Jacob