CorefinityCorefinityDocs
Open the Control PanelControl Panel
Software and services · 1 of 8

Change PHP version

Switch a site to another PHP version, and see what else changes before you do.

On this page

Before you start

  • You can open the site in Managed Websites. Anyone who can open a site can change its PHP version.
  • Your code runs on the version you are moving to.
  • Take a backup, to have a way back.

Change the version

  1. Open Software & services

    Go to Managed Websites, choose the site, then Software & services under Site settings. Choose Change… beside PHP.

  2. Choose the version

    Choose a version, such as 8.4. Before you switch to PHP 8.4 lists anything else that changes, such as an extension that switches off.

  3. Switch

    Tick any confirmation the dialog asks for, then choose Switch to PHP 8.4. The button names the version you chose.

The change applies now. When it is done, PHP under Services and the site header show the new version.

Change PHP version… is also in the site header's … menu.

What the labels mean

LabelMeaning
In useThe version the site runs now.
SupportedA current version, with security fixes until the date shown.
Security fixes onlyAn older version. Security fixes stop on the date shown.
End of lifeGets no security fixes. Use it only while you upgrade your code.
PreviewA release candidate for trying your code. It cannot be chosen for production.

Automate this

Change PHP version

Moves the site to another PHP version, one of the versions its PHP configuration lists as allowed.

PUT/api/corestack/sites/{site}/php-version
curl -X PUT https://manage.corefinity.com/api/corestack/sites/1042/php-version \
  -H "Authorization: Bearer $COREFINITY_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{
    "acknowledge": [
      "eol"
    ],
    "to": "8.1"
  }'
Was this helpful?
Open in ClaudeOpen in ChatGPT