From b00dbcfdcb5fcc7c6fe0c8c3884fa60fc15d06cc Mon Sep 17 00:00:00 2001 From: taverianov Date: Mon, 26 May 2025 20:14:18 +0200 Subject: [PATCH] Publish requirement for "mod_lsapi"/"liblsapi" version coincidence The requirement existed always, but is missing from the docs on custom Control Panel integration. --- docs/cloudlinuxos/control_panel_integration/README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/cloudlinuxos/control_panel_integration/README.md b/docs/cloudlinuxos/control_panel_integration/README.md index c70794786..1872580c5 100644 --- a/docs/cloudlinuxos/control_panel_integration/README.md +++ b/docs/cloudlinuxos/control_panel_integration/README.md @@ -1673,6 +1673,16 @@ rpmbuild --rebuild alt-mod-passenger-ver.cloudlinux.src.rpm ``` +:::warning Note +Make sure that versions of all installed and downloaded +* `mod_lsapi` +* `liblsapi` +* `liblsapi-devel` +packages completely coincide. +Ensure that the copy of mod_lsapi.so visible to Apache is configured to load liblscapi.so of the same version. +Mismatched versions can cause errors or unexpected behavior. +::: + 3. Remove dependencies from `httpd`, `apr`, `apr-util` packages (`-devel` packages as well) and set your Apache packages instead, in the alt-mod-passenger spec file. Also, set the path for the directory where your Apache configs are located with `__apache_conf_dir` in the spec file. 4. Rebuild the package again, this time you should get to the compilation stage. During compilation, you may encounter such errors: