---
title: "Get PHP details"
method: GET
path: "/api/hosting/v1/accounts/{username}/websites/{domain}/php/details"
tags: ["Hosting: PHP"]
---

# Get PHP details

`GET /api/hosting/v1/accounts/{username}/websites/{domain}/php/details`

Returns the full PHP configuration for the website: current version, available versions
(supported and unsupported), enabled/disabled extensions, options with their current value,
default, type and the plan limit (`max`), and conflicting extension groups.

Use it to check the current PHP setup before updating the version, extensions or options.

## Path parameters

- `username` string, required
- `domain` string, required

## Response `200`

Success response

- HostingV1PhpPhpDetailsResource
  - `php_version` string — Current PHP version name
  - `php_version_full` string — Full PHP version name
  - `php_versions` HostingV1PhpPhpVersionsResource
    - `supported` object — Key-value pairs of supported versions
    - `unsupported` object — Key-value pairs of unsupported versions
  - `options` object — PHP options keyed by option name
  - `extensions` object — PHP extensions keyed by extension name
  - `conflicting_extensions` array[] — Groups of extensions that conflict with each other
    - string[]

## Other responses

- `401` — Unauthenticated response
- `500` — Error response

## Changes

- **2026-07-03** `7c2b8656649e` — 1 info
  - endpoint added
- **2026-06-09** `d05574986eb1` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/hostinger/apis/hostinger-api/changes/api/hosting/v1/accounts/:username/websites/:domain/php/details/get.md)

---

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