setting up php wiring