Document multi-PHP deployment and website version changes
This commit is contained in:
1 parent
0c8a28b7e2
commit
f9641ef64a
2 files changed
+65
-4
No files matched your search
+50
-1
@@ -327,7 +327,54 @@ the managed sites. Use **Change storage limit** on the deployed account to
|
||||
apply the hosting plan's default or choose a per-site value.
|
||||
[Website storage quotas](development.md#apply-a-website-storage-limit)
|
||||
|
||||
### Configure PHP per website
|
||||
### Choose PHP versions for hosted websites
|
||||
|
||||
Use the distribution PHP-FPM packages for a single PHP series. To offer more
|
||||
series on the same node, enable an APT archive that supplies co-installable
|
||||
PHP-FPM packages for the node's distribution. DEB.SURY.ORG supplies signed
|
||||
packages for Debian 13 and Ubuntu. Follow its keyring and `Signed-By`
|
||||
instructions for the node's release. [DEB.SURY.ORG setup](https://packages.sury.org/php/README.txt)
|
||||
|
||||
Install and start each series you want to offer. Install the application's
|
||||
required PHP extensions for each series it will use. APT remains responsible
|
||||
for package and security updates.
|
||||
|
||||
```sh
|
||||
sudo apt install php8.5-fpm php8.6-fpm
|
||||
sudo systemctl enable --now php8.5-fpm php8.6-fpm
|
||||
```
|
||||
|
||||
Under **Hosting plans**, enter the **Allowed PHP series** as a comma-separated
|
||||
list, such as `8.5, 8.6`. A blank list makes every installed stable series
|
||||
available. New website activations select the newest installed stable series
|
||||
in the plan. Each active site retains its recorded series when a package or
|
||||
plan changes. APT patch releases update that series in place.
|
||||
|
||||
Use **Change PHP version** on an active account to schedule a switch.
|
||||
Assigned customers can change their own sites. Operators need permission to
|
||||
view the account and **Can change site php version**. The page shows the
|
||||
active series and the progress of the request. Site aliases, including
|
||||
aliases served over HTTPS, switch with the primary site.
|
||||
|
||||
Coulobre validates the target pool and waits for its socket before switching
|
||||
traffic. It retains the website's PHP pool limits. If a request fails,
|
||||
check the worker's diagnostic, correct the problem, and submit the same
|
||||
series again. The web node can confirm a switch whose reply was interrupted.
|
||||
|
||||
On upgrade, existing local activations retain the previously used series.
|
||||
The existing Apache configurations move to the shared socket route during
|
||||
the first version change. Preview and apply manifests keep their account
|
||||
and domain identity. Upgrade the panel and local activation worker together.
|
||||
|
||||
To withdraw a series, remove it from plan allowlists and explicitly move
|
||||
each website that uses it. Verify the new PHP version over HTTP and HTTPS.
|
||||
Check the old series' pool directory for website or tool pools before stopping
|
||||
its service and removing the package. Retain working configuration for the
|
||||
series while any pool still needs it. phpMyAdmin, Roundcube, and command-line
|
||||
jobs use their own configured runtimes. Use a versioned command such as
|
||||
`php8.5` for a job that must stay on a specific series.
|
||||
|
||||
### Configure PHP pool limits per website
|
||||
|
||||
Under **Hosting plans**, set default PHP memory, upload size, request timeout,
|
||||
or PHP-FPM worker limits. The panel captures these values when an operator
|
||||
@@ -1635,6 +1682,8 @@ COULOBRE_SERVICE_HEALTH='{"panel-01":{"local":["panel","worker","scheduler","apa
|
||||
Choose an ID for each node using lower-case letters, numbers, and hyphens,
|
||||
starting with a letter. Keep the IDs stable for the same hosts. List one
|
||||
`local` node per panel installation and use `ssh` for each additional host.
|
||||
Use `php-fpm` under `local` to monitor the installed stable PHP-FPM services.
|
||||
The check reports a problem when any of those services is unavailable.
|
||||
Use `bind9`, `postfix`, `dovecot`, `spamd`, and `spamass-milter` under
|
||||
`local` for co-located services or under `ssh` for separate nodes. Only
|
||||
list the spam filter units where filtering is configured. Update the
|
||||
|
||||
Reference in new issue
Block a user