I downloaded litespeed enterprise, installed it. It's working. I clicked "yes" when it asked me to install php.
I think I might have installed php from the package manager too.
Well, I installed mysql server from package manager, then installed via terminal. then removed, then installed back...