That's why we recommend keeping PHP for Apache and LiteSpeed in sync. When you upgrade PHP, upgrade Apache first, then LiteSpeed.
If you want to the easiest soltuion, just "Build Matching PHP" from our WHM plugin.
Or, you need to setup LiteSpeed PHP completely independent to Apache PHP, build...