Hrm... I'm confused now. Just log into your lsws control panel http://<your.ip.address>:7080 (if you changed the port during install change 7080 to your port).
At the top left you'll see the litespeed logo and a menu just below that. hover over actions, and click on compile php.
I don't know what you mean by "matching php" - but you can compile both php4 & 5 there.