---
title: "Restart an Environment's PHP Engine"
method: POST
path: "/sites/tools/restart-php"
tags: ["WordPress Site Tools"]
---

# Restart an Environment's PHP Engine

`POST /sites/tools/restart-php`

## Request body

- RestartPhpEngineRequestBody
  - `environment_id` string, required

## Response `202`

Restarting PHP in progress

- RestartPhpEngineResponse
  - `operation_id` string, required
  - `message` string, required
  - `status` number, required

## Other responses

- `401` — No or invalid API key provided to the request
- `500` — Error occurred while trying to restart the PHP engine

---

[API](https://skmtc.net/sevalla/apis/sevalla-api.md) · [All operations](https://skmtc.net/sevalla/apis/sevalla-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sevalla/sevalla-api/revisions/ab648a80ca4d/schema)
