InMotion Hosting Support Center

What did system change yesterday ?

2013-07-18 2:45 am EST

Hits: 726
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.

You must login before you can ask a follow up question.

You must login before you can submit an answer.

Best answer chosen by User


9,968 Points
2013-07-18 11:23 am EST
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

You must login before you can post a comment about this answer.

What a best support team I ever met.
8 Points
2013-07-18 6:31 pm EST
Hello paulyu,

Glad to help! :)

- Jacob
9,968 Points
2013-07-18 7:30 pm EST
Like this Question?

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!