The actual change is made by switching the line with one of these depending on the version look at the last two digits:
SetHandler application/x-lsphp72
SetHandler application/x-lsphp73
SetHandler application/x-lsphp74
SetHandler application/x-lsphp80