To install WHMCS successfully, you need to make sure that you are having at least PHP version 7.2. If that is not present, you should be using your CPanel to upgrade the version of WHMCS.