Update php Version

I have installed the latest C5 Version 9.2.8 and the site works.

I then set the php version on the hosting portal to 8.1 and immediately get the error message “An error occurred while processing this request.” when I reset the PHP version everything works again.
Do I have to configure anything else in C5?

I usually disable the cache, clear the cache, and set database entities to ‘on’ when I change php version.

also, if you installed via composer make sure your CLI version of php is the same as the webserver and run composer install in case there are any package version differences.

If you are able to access the log files they should provide more details as to what the error is instead of the generic message.