[BlueOnyx:24519] Re: setting MariaDB root password stops RoundCube on vsites => Correction: PHP versioning bug

Michael Stauber mstauber at blueonyx.it
Fri Nov 13 22:34:03 -05 2020


Hi Ed,

> It turns out the problem was NOT with the reset of the root password.

Of course it was. When the GUI doesn't know the MariaDB "root" password
you'll have all kinds of issues with anything that uses MariaDB.

> The problem lies with BlueOnyx/CentOS's handling of PHP versions.
> 
> The version of PHP installed when the server was set up was 5.4. 
> Resetting this version to 5.6 causes no problem.

You are aware that there is next to no need to change the "default" PHP
version? If not, see here: https://www.blueonyx.it/multi-php

Each Vsite can run a different PHP version, provided you have the
respective PHP packages installed and use either suPHP or (preferably)
PHP-FPM instead.

> ... and causes RoundCube to fail everywhere.

The oldest PHP version that the current iteration of RoundCube runs with
is PHP-5.6 and even then it only barely runs with that. The minimum
recommended PHP version for RoundCube 1.4.1 is PHP-7.2.

So to alleviate your RoundCube issues you should make sure that ...

- The GUI knows the MariaDB root password
- The WebApp Installer knows the MariaDB root password
- You run the latest RoundCube
- Your Vsites use PHP-7.2 or newer

-- 
With best regards

Michael Stauber



More information about the Blueonyx mailing list