Thorn runs in PHP and can function as a text-only message board, but you'd have to hack up a template set to get it to look like Kareha.
However, further development on it is currently on an indefinite hiatus…