pmWiki giving errors

I have been running this on my home box for a while and decided I better move it on to my hosting account (finally).

I decided to upgrade to the latest version (Version 2.0.beta37) and start from stratch.
I set up the skin on the box at home and uploaded it…

The skin stopped working fully (ignoring the css) and when I try to go to an internal link I get:

Warning: Unexpected character in input: ‘’ (ASCII=12) state=1 in /usr/local/dh/cgi-system/php.cgi on line 2987

Parse error: parse error, unexpected T_STRING in /usr/local/dh/cgi-system/php.cgi on line 2987

Has anyone seen this error before?
(I am on the khan server).

Just in case anyone else had the same problem…

I fixed it by editing the Web Service (“Domains > Web” area )
and ticking “PHP Version 5? (ONLY WORKS WITH PHP-CGI)”