Log into Plesk.
Go to Plesk > Domains > example.com > PHP Settings and set required settings:
Powered by WHMCompleteSolution