domains_set_php
Set the PHP version selector for a domain using the DirectAdmin panel's index. Provide the domain and selector value to assign the desired PHP version.
Instructions
Set the PHP version selector for a domain.
Args: domain: Domain. php1_select: Selector index from the panel (often '1', '2', … mapping to php versions). impersonate: Owning user. confirm: Required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | ||
| confirm | No | ||
| impersonate | No | ||
| php1_select | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |