You may be ok. Time will tell. Phlox can be sensitive to mildew, so good air circulation is critical to them. If it proves that they are planted too close to the foundation, you can always move them. I would recommend moving in the spring, right as the new growth comes up, or you can move them in the early fall. I've moved them at both times with success. What I consider a great thing about phlox is that it will produce lots of new little plants surrounding the mother plant. Let these get about 6" high, then dig up and transplant to other areas of the garden.