Get your free beta license ↗
CMDCommand · run as root on the server · php family

urbestack-php-move

First published 14 Oct 20260.2.0Unchanged since publication

Usage

# urbestack-php-move --to 8.4|default (--domain NAME... | --version 8.2 [--q TEXT] [--owner NAME] | --follows-default | --all) [--job ID] [--dry-run]

Description

From the command's --help output
Moves selected domains to a different PHP version or changes whether they follow the server
default. With --to, specify a version such as 8.4 that is installed and available for customers
to select. Use --to default to have the domains follow the server default as it changes.
Selecting an explicit version pins the domain to it even if the domain already runs that version
through the default.

Use --domain once per named domain or --all to select every domain. You can also use the filters
from the PHP section of the administrator's panel. --version selects domains running that PHP
version. --q matches part of a domain name or any of its alias names, or the owner's full
username. --owner selects domains owned by that account. --follows-default selects domains that
follow the server default.

UrbeStack moves domains one at a time, just as it does when you switch versions in a domain's
settings. It configures the pool for the target version and reloads Apache and PHP-FPM. Most
sites continue to run as before. If older PHP code fails after a move, check the domain's error
log. Changes to an explicit version are blocked while a PHP installation is in progress or while
the target version is only partially installed.

The result shows what happened to each domain. UrbeStack skips domains whose PHP setting already
matches --to and continues with the remaining domains if a move fails. Use --job to record each
domain's result and update progress for that job in the Jobs section. Use --dry-run to preview
which domains would move without changing their PHP settings.

Options

Find other commands that accept these options

Same in the API

This operation runs the command.

More in php

7 commands, by what they work onView all commands in this family →
urbestack-php-
urbestack-php-ext-
urbestack-php-pool-
Generated from release 0.2.35 (current) · urbestack-php-move --help outputThis entry has been unchanged since it was first published in release 0.2.0 on 14 Oct 2026.
urbestack.com/docs/commands/urbestack-php-move/