Skip to content

Commit bd31d96

Browse files
authored
Merge pull request #315 from Monstrofil/patch-2
CLOS-4160: Expand compatibility matrix for isolates
2 parents 9eaf359 + 67681b5 commit bd31d96

File tree

1 file changed

+34
-11
lines changed

1 file changed

+34
-11
lines changed

docs/cloudlinuxos/isolates/README.md

Lines changed: 34 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,21 +25,44 @@ When CloudLinux Isolates is enabled for a domain:
2525
| lve-wrappers | 0.7.13-1 |
2626
| alt-python27-cllib | 3.4.33-1 |
2727

28+
#### Compatible Web Servers
29+
30+
| Web Server | Status | Notes |
31+
| --- | --- | --- |
32+
| Apache | ✅ Supported | See [Compatible PHP Handlers](#compatible-php-handlers) below for handler-specific requirements. |
33+
| NGINX | 🔜 Coming in future releases | |
34+
| LiteSpeed | 🔜 Coming in future releases | |
35+
2836
#### Compatible PHP Handlers
2937

30-
| Handler | Status |
31-
| ------- | --------------------------------------------------------------------------------- |
32-
| LSAPI | ✅ Supported (Recommended) |
33-
| CGI | ✅ Supported |
34-
| FPM | ⚠️ Partially Supported - see [Compatible PHP Versions](#compatible-php-versions) |
35-
| FCGI | 🔜 Coming in future releases |
38+
The following table applies to **Apache** — the only supported web server for CloudLinux Isolates.
3639

37-
:::tip Warning
38-
CloudLinux Isolates fully supports LSAPI and CGI handlers. FPM has partial support for specific ea-php and alt-php versions only. FCGI support is planned for future releases.
39-
:::
40+
| Handler | Status | Notes |
41+
| --- | --- | --- |
42+
| LSAPI | ✅ Supported (Recommended) | Requires `lsapi_per_user Off` (the default). See [LSAPI restriction](#lsapi-per-user-restriction) below. |
43+
| CGI | ✅ Supported | |
44+
| FPM | ⚠️ Partially supported | See [Compatible PHP Versions](#compatible-php-versions) for minimum package versions. |
45+
| FCGI | 🔜 Coming in future releases | |
4046

41-
:::tip Note
42-
LiteSpeed is not supported by site isolation.
47+
##### LSAPI per-user restriction
48+
49+
The mod_lsapi directive [`lsapi_per_user`](/cloudlinuxos/cloudlinux_os_components/#lsapi-per-user) controls how lsphp backend processes are spawned:
50+
51+
* **`lsapi_per_user Off`** (default) — one lsphp master per virtual host. Each master receives the site's `DOCUMENT_ROOT` and enters the correct isolated environment. **This is the only mode compatible with CloudLinux Isolates.**
52+
* **`lsapi_per_user On`** — a single lsphp master serves all virtual hosts for a user. In this mode, mod_lsapi does not pass `DOCUMENT_ROOT` to the backend, so isolation cannot determine which site a request belongs to. **This mode is incompatible with CloudLinux Isolates.**
53+
54+
To check your current setting, run:
55+
56+
```
57+
grep -ri 'lsapi_per_user' /etc/apache2/conf.d/ /etc/httpd/conf.d/ 2>/dev/null
58+
```
59+
60+
The directive is typically located in `/etc/apache2/conf.d/lsapi.conf` (cPanel) or `/etc/httpd/conf.d/lsapi.conf`. If the command returns no output, or all matches are commented out or show `Off`, your configuration is compatible (the default is `Off`). If any match shows `lsapi_per_user On` (uncommented), you must set it to `Off` before enabling CloudLinux Isolates.
61+
62+
:::warning Important
63+
`lsapi_per_user On` is **incompatible** with CloudLinux Isolates. In per-user mode, a single lsphp master process handles all virtual hosts for a user, making per-domain isolation architecturally impossible. Switch to `lsapi_per_user Off` (the default) before enabling isolation.
64+
65+
For full details on this directive, see [lsapi_per_user in mod_lsapi documentation](/cloudlinuxos/cloudlinux_os_components/#lsapi-per-user).
4366
:::
4467

4568
#### Compatible Control Panels

0 commit comments

Comments
 (0)