Agency Hosting: PHP

List PHP extensions for a website

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

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

Path parameters

website_uidstring required
Example:zpwlGlp19

Agency Plan website UID

Response

Success response

namestring

PHP extension name.

descriptionstring

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.

Example response

[
  {
    "name": "zip",
    "description": "Lets PHP read and write compressed ZIP archives.",
    "state": "enabled"
  }
]

Changes