I need to change the default PHP version of my user and the entire hosting account. I got an issue saying that I can’t upgrade Roundcube because it requires PHP 8.1, while I’m running PHP 8.0 on my account.
If I change this, I have some WordPress websites and I think this could break them. Is it possible to change the default PHP version and change the mentioned WordPress websites PHP version manually from the dashboard? Or is it possible to restore back the previous working version (8.0) if something goes wrong?
Looking forward to hear back from you guys, thanks in advance!
sudo /usr/local/hestia/bin/v-add-sys-roundcube
Error: Installed version (1.7.3) is equal to the available version (1.7.3)
Before that, I executed this:
sudo /usr/local/hestia/bin/v-add-sys-roundcube
And I got this warning:
Warning: Failed to update Roundcube modules
To investigate the issue, run:
COMPOSER_ALLOW_SUPERUSER=1 “/usr/bin/php” “-d disable_functions=” “/home/admin/.composer/composer” --working-dir=“/var/lib/roundcube” update --no-dev --no-interaction --optimize-autoloader
Now, the web mail client is not working at all, unfortunately.
Oops… something went wrong!
An internal error has occurred. Your request cannot be processed at this time.
For administrators: Please check the application and/or server error logs for more information.
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires guzzlehttp/guzzle ^7.10.0 -> satisfiable by guzzlehttp/guzzle[7.15.2, 7.15.3].
- guzzlehttp/guzzle[7.15.2, ..., 7.15.3] require symfony/deprecation-contracts ^2.5 || ^3.0 -> found symfony/deprecation-contracts[v2.5.0, ..., v2.5.4, v3.0.0, ..., v3.7.1] but it conflicts with your root composer.json require (2.2).
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
Running update with --no-dev does not mean require-dev is ignored, it just means the packages will not be installed. If dev requirements are blocking the update you have to resolve those problems.