Hi Neil,
The configuration of the switch depends solely on how you would like to leave the switch configured. If you would like to be able to just plug in a device and have it work then you can configure all the ports with the configuration Syed mentioned. If you would like to configure the ports as something is plugged in then only configure the ports you are planning on using. The first option will only work if you plan on having only two vlans, one for phones and one for PCs, printers, and APs (Data vlan).