Problem with Roundcube after passing to php-fpm multiversion

jonium

Verified User
Joined
Nov 10, 2010
Messages
208
Location
Alezio - Lecce- Apulia - South Italy
Hello,
after passing from mod_php 5.6 to php_fpm (4 versions default 5.6 as before) I get a blank page just after logged in Roundcube.
Here is the interested error log:

Code:
[23-May-2019 14:49:55 UTC] PHP Fatal error:  Uncaught exception 'Exception' with message 'DateTime::__construct(): Invalid date.timezone value 'CEST', we selected the timezone 'UTC' for now.' in /var/www/html/roundcubemail-1.3.9/program/lib/Roundcube/rcube_user.php:527
Stack trace:
#0 /var/www/html/roundcubemail-1.3.9/program/lib/Roundcube/rcube_user.php(527): DateTime->__construct('2019-05-10 23:5...')
#1 /var/www/html/roundcubemail-1.3.9/program/include/rcmail.php(619): rcube_user->is_locked()
#2 /var/www/html/roundcubemail-1.3.9/index.php(121): rcmail->login('***@***...', '********', 'localhost', true)
#3 {main}
  thrown in /var/www/html/roundcubemail-1.3.9/program/lib/Roundcube/rcube_user.php on line 527
Any Idea?
 
did you build your php after that ?

Code:
cd /usr/local/directadmin/custombuild
./build update
./build php
./build rewrite_confs
 
Hello,

You might try to do the following:

Code:
cd /usr/local/directadmin/custombuild
./build update
./build set php_timezone Europe/Rome
./build set php_ini yes
./build php_ini

it will overwrite existing php.ini with defaults and timezone set to Europe/Rome
 
Hello,

You might try to do the following:

Code:
cd /usr/local/directadmin/custombuild
./build update
./build set php_timezone Europe/Rome
./build set php_ini yes
./build php_ini

it will overwrite existing php.ini with defaults and timezone set to Europe/Rome

Ok, after that I restarted php and the webmail is back.
Thank you
 
Back
Top