Step 1: Log in to your Plesk panel

Step 2: Select Dashboard → PHP

Step 3: Please select your PHP version and save your preferences