Roundcube Community Forum

Miscellaneous => Roundcube Discussion => Topic started by: faili on January 05, 2016, 11:15:22 AM

Title: PHP 7 + roundcube error
Post by: faili on January 05, 2016, 11:15:22 AM
I upgraded my existing PHP version 5.6 to PHP 7 on a clean VPS. When I logged into the roundcubemail, I got internal error 500. I can see the login page. It was ok on PHP 5.6. This is the error log from roundcube:

[05-Jan-2016 15:49:47 UTC] PHP Catchable fatal error:  session_regenerate_id(): Failed to create(read) session ID: user (path: /var/lib/php/session) in /usr/share/roundcubemail/program/lib/Roundcube/rcube_session.php on line 436

Any help appreciated.
Title: Re: PHP 7 + roundcube error
Post by: SKaero on January 05, 2016, 11:19:21 AM
You need to use Roundcube beta 1.2 in order to use PHP 7.
Title: Re: PHP 7 + roundcube error
Post by: faili on January 05, 2016, 11:20:12 AM
Hi, I will try it out now. Thanks for the information!
Title: Re: PHP 7 + roundcube error
Post by: faili on January 05, 2016, 12:58:08 PM
Ok sorry for asking this. How do I update to the beta version? I'm using CentOS 7. Do I need to remove the existing? Tried yum update roundcube but it said I have the latest version.,
Title: Re: PHP 7 + roundcube error
Post by: SKaero on January 05, 2016, 03:27:41 PM
I wouldn't recommend using the package versions of Roundcube, there typically out of date.