Login to your web panel
Click on the cwp settings and select "php Selector"
see image below.
Select your domain from the dropdown menu.
From the Available php Version, click on the dropdown menu and select the version you would like to use.
After that click on update version