Hi, i have Ubuntu server 20.04. I want to change default php version from 7.4.33 to 8.3 and upgrade manually Roundcube 1.4.3(installed from ubuntu repo) to 1.6.9 (from source). I changed the default PHP version (update-alternatives...). Checking with php -v. Ok. It show PHP 8.3 But roudcube detect still old PHP 7.4.33 version. I removed,purged roundcube reinstall on the default PHP 8.3 but Roundcube (and the installer) detect still PHP 7.4.33. I create a phpfile (phpinfo()) in roundcube directory and show php 7.4.33 What is right way to correct this issue? Thanks for your help.
not points ChatGPT said: To fix the issue, it seems that although PHP 8.3 is set as the default version on your system, Roundcube is still using PHP 7.4. This might be because your web server (Apache or Nginx) is still pointing to the old PHP version. You need to update the configuration of your web server to ensure it's using PHP 8.3 instead of PHP 7.4. You can check your server’s PHP-FPM or mod_php configurations to make sure they are set to use PHP 8.3. Also, clearing any caches related to Roundcube or your web server could help as well, as it might be caching the old PHP version. If that doesn't work, reinstalling Roundcube while ensuring that PHP 8.3 is used should resolve the issue.