---
title: "Change PHP version for a domain on the caller's account"
method: POST
path: "/api/client/account/configure-php"
tags: ["Client - Account"]
---

# Change PHP version for a domain on the caller's account

`POST /api/client/account/configure-php`

## Request body

- object
  - `domain_id` integer, required — Must belong to the caller's account
  - `php_version_id` integer, required
  - `is_php_fpm_enabled` boolean

## Response `200`

PHP version updated

## Other responses

- `404` — Account or domain not found / not owned by this API key
- `422` — Validation or update failure

---

[API](https://skmtc.dev/adminbolt/apis/adminbolt-api-documentation.md) · [All operations](https://skmtc.dev/adminbolt/apis/adminbolt-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/adminbolt/adminbolt-api-documentation/revisions/bf4f36fbfbd3/schema)
