Only start php API server once