i had troubles installing php on pws and then i found this http://www.faqts.com/knowledge_base/view.phtml/aid/5495

just make sure you put register_globals=On