Fix bug in provisioning that caused php server to run before exchange