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?
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
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.