I upgraded from 8.6.2 to 8.7.0. I was using PHP 7.4.3 but saw some errors stating I need to upgrade PHP to > 8.1. I updated my server to PHP 8.2. I then re-ran the upgrade commands but I’m getting and error in the browser as follows:
Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.1.0".
How can I fix this?
Below is output from the last updates I ran:
$ sudo -u www-data ./bin/console suitecrm:app:upgrade -t SuiteCRM-8.7.0
SuiteCRM Upgrade
============
Running: backup-original-modules
step: backup-original-modules | status: done
Successfully backed up files
Running: check-package
step: check-package | status: done
Package found in path
Running: extract-package
step: extract-package | status: done
Package extracted
Running: check-permissions
step: check-permissions | status: done
Permissions checked
Running: install-upgrade-package
step: install-upgrade-package | status: done
Successfully installed package
Running: clear-symfony-cache
step: clear-symfony-cache | status: done
Successfully cleared cache
Warning! Please re-set permissions after this upgrade step has completed
$ sudo -u www-data ./bin/console suitecrm:app:upgrade-finalize -t SuiteCRM-8.7.0
SuiteCRM Finalize Upgrade
============
Running: legacy-post-upgrade
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
step: legacy-post-upgrade | status: done
Post Upgrade process complete
Running: add-new-config-entries
step: add-new-config-entries | status: done
No new entries to add to the config file
Running: metadata-merge
step: metadata-merge | status: done
Metadata successfully merged
Running: run-migrations
step: run-migrations | status: done
Successfully run migrations
Running: finalize-clear-symfony-cache
step: finalize-clear-symfony-cache | status: done
Successfully cleared cache
Warning! Please re-set permissions after this upgrade step has completed
$