Instead of using PHD to talk to the HEQ5, it is probably necessary to use EQMod. THere is heaps of info on the internet. This is the main site:
http://tech.groups.yahoo.com/group/EQMOD/
If you want to autoguide, PHD is connected to an autoguider camera, which is then connected to the ST4 port