php setup and test