php code for the deploy-server project