When installing Apache, MySQL and PHP on Windows Vista, remember to disable User Account Control:
- Run MSCONFIG from the run/search menu.
- Select the Tools tab.
- Select Disable UAC and press Launch
- Restart computer
Instead of installing Apache, MySQL and PHP separately, I ended up installing the WAMP Server, which went very smoothly. You may have to restart your computer one more time before PHP sees your MySQL server.