Roundcube webmail login failure – This page isn’t working domain.com is currently unable to handle this request. HTTP ERROR 500
This Roundcube webmail login failure issue suddenly appeared after a server reboot. While troubleshooting I was able to see the error below in the web server logs.
PHP Warning: strtotime(): 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 the timezone ‘UTC’ for now, but please set date.timezone to select your timezone. in /usr/share/roundcubemail/program/lib/Roundcube/session/db.php
This particular server was located in the African region and the system’s timezone setting was set to SAST timezone. Then I checked what time zone used in the PHP settings running the command below.
php -i | grep timezone
Command output shows as, it is set to UTC time zone as per the above event in the error log.
Therefore I have changed the relevant timezone setting in the php configuration very same to the system’s timezone. List of supported Timezones.
Make sure to restart web server service to apply the changes. Then the login to Roundcube webmail was successful.
I hope this will be helpful for some one. If you need any help and support hit the chat button.