When you first set up phpBB it asks which DB you want to use. Just put the files in separate folders and give them a different prefix for the table names and you're all set.
As long as the other services allow you to choose a prefix for its table names, you shouldn't have any problems.