There's a few ways you can run PHP, and it all depends on what OS you're running. Post that, and I'll let you know what your options are.
Dreamweaver doesn't weave dreams. It weaves crappy, useless and unmanageable code. It works pretty well if you only use the code editor and nothing else, but...