Rails app that deploys an instance of a php app via API