Log in to your Plesk panel.Select Dashboard → PHP Please select your PHP version and save your preferences.