add a temporay php document root so that gear prereceive can control stop the gear when deploying the template the first time