Author Topic: PHP 7 + roundcube error  (Read 9216 times)

Offline faili

  • Newbie
  • *
  • Posts: 3
PHP 7 + roundcube error
« 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.

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Re: PHP 7 + roundcube error
« Reply #1 on: January 05, 2016, 11:19:21 AM »
You need to use Roundcube beta 1.2 in order to use PHP 7.

Offline faili

  • Newbie
  • *
  • Posts: 3
Re: PHP 7 + roundcube error
« Reply #2 on: January 05, 2016, 11:20:12 AM »
Hi, I will try it out now. Thanks for the information!

Offline faili

  • Newbie
  • *
  • Posts: 3
Re: PHP 7 + roundcube error
« Reply #3 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.,

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Re: PHP 7 + roundcube error
« Reply #4 on: January 05, 2016, 03:27:41 PM »
I wouldn't recommend using the package versions of Roundcube, there typically out of date.