Wait for PHP api instance to spin up when testing.