Update website PHP version
agency-hosting_updateWebsitePHPVersionV1Switch an Agency Plan website to a different PHP version after checking available options. The site restarts on the new version, so requests during the switch may fail and incompatible code may break.
Instructions
Switches an Agency Plan website to a different PHP version. Call the available versions endpoint first to see which versions can be selected. The website restarts on the new version, so requests served during the switch may fail and code that is incompatible with the target version will break.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | Yes | PHP version to switch the website to, as major.minor. Must be one of the versions returned by the available versions endpoint. | |
| website_uid | Yes | Agency Plan website UID |