I also tried editing the command section. That didn't work, either, but only because OpenLiteSpeed, unlike LiteSpeed, does not allow putting a path environment variable before the actual lsphp path.
For reference, in LiteSpeed, editing the command section would have worked since it allows...