Module not showing in PHP Options even though it installed successfully

SYSTEM INFORMATION
OS type and version Almalinux 9.2
Webmin version 2.105
Virtualmin version 7.10.0
Related packages PHP 8.1 and bcmath

I am trying to install a new crm for yetiforce - had to play around with php versions and modules to meet the requirements of the software. First I switched to php 8.0 and installed bcmath - no problems. Trying to run the software it wants php >=8.1 (thanks for not telling me documention!) so I switched and enabled php 8.1.27 and installed bcmath -it seemed to go well so far (Package php-bcmath-8.1.28-1.el9.remi.x86_64 is already installed) - BUT when I go to php options to see if it is there its not. What am I missing here?

image
?

Apache supports HTTP/2 on your system

The following CGI script execution modes are available : fcgiwrap

The following PHP execution modes are available : fpm fcgid cgi

The following PHP versions are available : 8.1.28 (/bin/php81-cgi), 8.2.18 (/bin/php82-cgi), 8.3.6 (/bin/php83-cgi)

The following PHP-FPM versions are available : 8.1.28 (php-fpm) 8.2.18 (php82-php-fpm) 8.3.6 (php83-php-fpm)

Enabling PHP-FPM version 8.2 at boot time

Enabling PHP-FPM version 8.3 at boot time

Tried switching between 8.1 and 8.2 and then back to 8.1 get this error:
Restarting PHP-FPM 8.1 server …
… failed : Job for php81-php-fpm.service failed because the control process exited with error code. See “systemctl status php81-php-fpm.service” and “journalctl -xeu php81-php-fpm.service” for details.

ERROR: Another FPM instance seems to already listen on /var/php-fpm/1702928141900577.sock
In addition

The process’ exit code is ‘exited’ and its exit status is 78.
Apr 19 22:48:36#######.com systemd[1]: php81-php-fpm.service: Failed with result ‘exit-code’.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: Red Hat Customer Experience & Engagement - Red Hat Customer Portal
░░
░░ The unit php81-php-fpm.service has entered the ‘failed’ state with result ‘exit-code’.
Apr 19 22:48:36 ########.com systemd[1]: Failed to start The PHP FastCGI Process Manager.
░░ Subject: A start job for unit php81-php-fpm.service has failed

And just to make things even worse now all my sites are down (that are using fpm81)
have to switch to 8.2
here are the logs :

 [proxy_fcgi:error] [pid 30247:tid 30284] [client 24.141.167.165:61579] AH01079: failed to make connection to backend: httpd-UDS, referer: https://###.###.com/
[Fri Apr 19 23:53:22.018675 2024] [proxy:error] [pid 30247:tid 30284] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /run/php-fpm/171121441265723.sock (*:80) failed

SO not sure why exactly the mods were not loaded after installing them but was able to load them using

for php in $(scl list-collections 2>/dev/null | grep 'php' | sed 's/$/-php/') php; do for ext in bcmath; do sudo dnf -y install "${php}-${ext}"; done; done

The remaining issue is getting my php version of 8.1 running again - what is the correct procedure for purging the proxy_fcgi:error? A reboot/restart doesnt work.

/etc/opt/remi/php81/php-fpm.d/171121441265723.conf

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.