---
title: "List PHP extensions for a website"
method: GET
path: "/api/agency-hosting/v1/websites/{website_uid}/php-settings/extensions"
tags: ["Agency Hosting: PHP"]
---

# List PHP extensions for a website

`GET /api/agency-hosting/v1/websites/{website_uid}/php-settings/extensions`

Lists every PHP extension available to an Agency Plan website and whether it is currently enabled.

## Path parameters

- `website_uid` string, required

## Response `200`

Success response

- AgencyHostingV1PhpExtensionResource[] — Array of [`AgencyHosting.V1.Php.ExtensionResource`](#model/agencyhostingv1phpextensionresource)
  - `name` string — PHP extension name.
  - `description` string — What the extension provides.
  - `state` 'enabled' | 'disabled' | 'built-in' — Whether the extension is currently enabled. Extensions in the "built-in" state are compiled into PHP and cannot be turned off.

## Other responses

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

## Changes

> 88 revisions in range; 4 could not be searched.

- **2026-08-17** `8b0328d323ca` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/hostinger/apis/hostinger-api/changes/api/agency-hosting/v1/websites/:website_uid/php-settings/extensions/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)
