Some software requires older version of PHP like 5.6 while other asks for PHP7. If it happens you need either of the versions, you can switch to it from cPanel.
Login to your cPanel account.
In the
Softwaresection, click on theMultiPHP Managericon.
Scroll down to the bottom of the page, select your domain from the left side of the screen and you will see a “PHP Version” dropdown menu on the right side. Select the appropriate PHP version from it and click the
Applybutton.
It will take a few seconds and then your PHP version will change to your selected version.