Generic php app server setup