Hi!
It’s a quit good topic for my problem !
I moved all domains to PHP 7.4. Everything was working great.
I was asking myself how to remove unneeded PHP versions. I found v-delete-web-php and used it to delete PHP7.3.
Unfortunately I was not told this was the system’s main PHP version. So now roundcube doesn’t work anymore. The reason is the pdo_mysql modul is not anymore there. I was wondering what it should mean ?
Well, v-delete-web-php deleted all modules (/etc/php7.3), but not all php7.3 stuff. And it seems that roundcube itself looks for pdo_mysql of the system’s main PHP version instead of the PHP used by the domains… Is it a bug ? Or just my missunderstanding how to use it ?
Meanwhile I set PHP7.4 as system’s main version, but roundcube still doesn’t work saying me:
PHP Fatal error: Uncaught Error: Class 'PDO' not found in /usr/share/roundcube/program/lib/Roundcube/rcube_db_mysql.php:144
php -i shows that all is fine with the pdo_mysql modul: enabled etc.
I checked the roundcube settings regarding apache and php but I was not able to find the source of my problem.
Have you any idea ? How to reinstall PHP7.3 ? Kindly note: v-add-web-php 7.3 doNOT work ! Whatever it does, it doesn’t bring me php 7.3 back…
Thank you and best regards !