Roundcube Community Forum

 

Requires too new version of PHP

Started by drokmed, May 28, 2009, 08:45:07 PM

Previous topic - Next topic

drokmed

Hi all, first post here.

I had to install the old roundcube v0.1.1, because the v0.2.x series requires php v5.2.0.

I'm running the latest CentOS, which comes with PHP v5.1.6.

Is there anything that requires the newer version of PHP, or is this just a configuration issue?  Any chance the PHP version requirement can be rolled back a bit?  Will it run correctly if I mod the config file, make a symlink, or anything else I can do?

Thanks,

Daryl

djcasual

#1
Without getting any of the developers upset, or breaking the path of RoundCube PHP compatibility goals. There is a workaround to install the latest roundcube on PHP 5.1.6 (RHEL5/CentOS5).

The upstream provider uses a process called Backporting. Backporting takes security issues, updates, and rolls them into older package.

One of my clients did not want to break upgrade path of RHEL/PHP, compile PHP from source, or use alternative PHP rpm's. So I did bypass the check in RoundCube. They've been on RoundCube with PHP 5.1.6 for over 4 months now without any issues.

WARNING - USE AT YOUR OWN RISK

Before running the Web Installer Wizard. Edit the following to allow RoundCube to be installed on PHP v5.1.6.

Find Line 43 in ./roundcubemail-0.2.2/installer/check.php
define('MIN_PHP_VERSION''5.2.0');

Change to:
define('MIN_PHP_VERSION''5.1.6');

Good luck.

DJC